/**
Theme Name: Astra for EduFires
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-for-edufires
Template: astra
*/

/**
 * Core style start
 */

:root {
	--ast-title-layout-bg: #FFFFFF;
	--edufires-adminbar-height: 0px;
	--edufires-header-height: 0px;
	--edufires-base-text-color: #333333;
	--edufires-alt-text-color: #8B8B8B;
	--edufires-orange-color: #FBB41A;
}

/* fixed header and footer at bottom start */
#page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding-top: var(--edufires-header-height);
}

#content {
	flex: 1;
}

.site-header {
	z-index: 9999 !important;
	position: fixed;
	width: 100%;
	top: var(--edufires-adminbar-height);
}

@media (max-width: 600px) {
	#wpadminbar {
		position: fixed;
	}
}

/**
 * Core style end
 */

/**
 * Astra menu start
 */

.main-header-menu .menu-item-has-children > a {
    pointer-events: none;
    cursor: default;
}

.ast-mobile-header-wrap .ast-mobile-header-content {
	background-color: #FFFFFFE6;
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link .icon-arrow:first-of-type {
	display: none;
}

.ast-header-break-point .main-navigation ul .sub-menu .menu-item:not(.menu-item-has-children) .menu-link .icon-arrow:first-of-type {
	display: none;
}

.main-header-menu > .menu-item-has-children > a .ast-arrow-svg {
	transition: transform 0.25s ease;
/* 	transform-origin: center; */
}

.main-header-menu > .menu-item-has-children:hover > a .ast-arrow-svg {
	transform: rotate(180deg);
}

.main-header-menu > .menu-item > a {
	border-radius: 4px;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link {
	background-color: inherit;
}

.ast-builder-menu-mobile .main-header-menu .sub-menu .menu-item .menu-link {
	padding-left: 16px;
	background-color: #F9F9F9;
}

.ast-builder-menu-mobile .main-header-menu .sub-menu .menu-item .menu-item .menu-link {
	padding-left: 32px;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
	right: 0;
	outline: none;
	border: none;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle:active {
	background-color: transparent;
	-webkit-tap-highlight-color: transparent; /* mobile blue flash */
}

.ast-builder-menu-mobile .main-header-menu > li.menu-item-has-children:not(.ast-submenu-expanded):focus-within > a.menu-link {
  background-color: transparent;
}

.ast-builder-menu li.ast-submenu-expanded > button .ast-arrow-svg {
	transform: rotate(180deg);
}

.entry-content {
	color: var(--edufires-base-text-color) !important;
}

/**
 * Astra menu end
 */

/**
 * Archive title with image section start
 */

.edufires-archive-title-with-image-section {
  	display: flex;
  	align-items: center;
  	justify-content: space-between;
  	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (max-width: 921px) {
	.edufires-archive-title-with-image-section {
		flex-direction: column;
    	align-items: stretch;
	}
}

.edufires-archive-title-with-image-section .title-section {
    flex: 2;
}

.edufires-archive-title-with-image-section .image-section {
    flex: 2;
}

.edufires-archive-title-with-image-section .image-section img {
	border-radius: 22px;
}

/**
 * Archive title with image section end
 */

/**
 * Archive box description section start
 */

.edufires-archive-box-description-section {
	background: #222;
    color: #fff;
	padding: 40px;
	border-radius: 22px;
	margin-top: 40px;
}

@media (max-width: 992px) {
	.edufires-archive-box-description-section {
		margin-bottom: 40px;
	}
}

.edufires-archive-subtitle {
	font-size: 1.8rem !important;
}

.edufires-archive-box-description-section .edufires-archive-title,
.edufires-archive-box-description-section .edufires-archive-subtitle {
	color: #ffffff !important;
	padding-bottom: 1rem;
}

.edufires-archive-box-description-section .description-section {
	max-height: 300px;
	overflow-y: auto;  
}

.edufires-archive-no-image {
	margin-bottom: 1.5rem;
}

/**
 * Archive box description section end
 */

/**
 * Breadcrumb style start
 */

#ast-breadcrumbs-yoast > span > span:nth-child(1) > a::before {
    content: '\1F3E0'; /* Unicode for house emoji */
    margin-right: 5px;
}

/**
 * Breadcrumb style end
 */

/* ===========================
   READ MORE / READ LESS LOGIC
=========================== */

/* Shared styling for both triggers */
.read-more-summary,
.read-more-bottom {
    padding-bottom: 0 !important;
    cursor: pointer;
    color: #f7c35f;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    vertical-align: middle;
    margin-top: 10px;
    padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}

.read-more-summary:hover,
.read-more-bottom:hover {
    border-bottom-color: #f7c35f;
}

.read-more-summary::after,
.read-more-bottom::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #f7c35f;
    border-top: 2px solid #f7c35f;
    transform: rotate(45deg);
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    transition: border-color 0.25s ease;
}

.read-more-summary:hover::after,
.read-more-bottom:hover::after {
    border-color: #e3ac2f;
}

.read-more-summary::-webkit-details-marker {
    display: none;
}

/* When <details> is OPEN → hide Δες περισσότερα */
details[open] .read-more-summary {
    display: none;
}

/* When CLOSED → hide Δες λιγότερα */
details:not([open]) .read-more-bottom {
    display: none;
}

/* When OPEN → show Δες λιγότερα */
details[open] .read-more-bottom {
    display: inline-flex;
}

/**
 * Category description read more logic
 */
.read-more-summary {
	padding-bottom: 1em;
}

.read-more-container .read-more-content h1,
.read-more-container .read-more-content h2,
.read-more-container .read-more-content h3,
.read-more-container .read-more-content h4,
.read-more-container .read-more-content h5,
.read-more-container .read-more-content h6 {
	margin: 1em 0 1em 0;
}

/* CARDS --- fixed header and footer at bottom end */
.edufires-subcategory-list {
	margin-bottom: 20px;
}

.edufires-subcategory-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-top: 10px;
}

.edufires-subcategory-card {
	background-color: #333333;
	border-color: #333333;
	/* border: 5px solid #333333; */
	overflow: hidden;
	padding: 0px;
	text-align: center;
}

.edufires-subcategory-card {
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edufires-subcategory-card:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.edufires-subcategory-link {
	display: grid;
}

.edufires-subcategory-image-section {
	padding-bottom: 0px;
}

.edufires-category-title {
	text-align: center;
	padding-bottom: 1.5rem;
}

.edufires-category-title-link {
	color: #333333;
}

.edufires-subcategory-title {
	margin-bottom: 0px !important;
	padding: 20px 0 20px 0;
	color: #c4bc8e !important;
}

.edufires-subcategory-description {
	text-align: center;
	color: #c4bc8e;
	padding: 0px 10px 20px 10px;
}

.edufires-subcategory-count {
	font-size: 0.8em;
	color: #999;
	font-style: italic;
}

.edufires-subcategory-card a {
	text-decoration: none;
	color: inherit;
}

.edufires-subcategory-card a:hover {
	text-decoration: none;
}

/* 3-column grid for the cards inside each section */
.subcategory-section-content {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

/* Responsive: 2 columns on tablet */
@media (max-width: 992px) {
	.subcategory-section-content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Responsive: 1 column on mobile */
@media (max-width: 600px) {
	.subcategory-section-content {
		grid-template-columns: 1fr;
	}
}

.pll-switcher-select {
	background-color: #333333;
	color: #c4bc8e;
	padding: 10px 10px;
	font-size: 16px;
	border-color: #c4bc8e;
	cursor: pointer;
}

.pll-switcher-select:hover {
	background-color: #c4bc8e;
	color: #333333;
	border-color: #333333;
}

.pll-switcher-select:active {
	background-color: #c4bc8e;
	color: #333333;
	border-color: #333333;
}

.ast-archive-description .ast-archive-title {
	text-align: center;
	font-weight: 600;
}

.swiper-backface-hidden {
	cursor: move;
}

.ast-article-inner {
	background-color: #333333;
	border-color: #333333;
	border: 5px solid #333333;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
	padding: 0px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ast-article-inner:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-horizontal {
	top: 100px;
}

#main section.blog-category-no-posts {
	padding: 0;
}

/* Archive Search Form Container */
.archive-search-form-container {
	padding: 10px 20px 50px 20px;
}


/**
 * Sticky category nav container start
 */

.edufires-category-nav {
    position: sticky;
    top: var(--edufires-category-sticky-offset, 10px);
    z-index: 20;
    background: #ffffff;
    padding: 15px;
}

@media (max-width: 768px) {
	.edufires-category-nav {
		display: none;
	}
}

/* Horizontal list of nav items */
.edufires-subcategory-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* Wrapper per item */
.edufires-chip-container {
    display: inline-block;
}

/**
 * Base button style (INACTIVE)
 */
.edufires-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    color: var(--edufires-base-text-color);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

/* HOVER state – light grey (for inactive items) */
.edufires-chip:hover {
    background: #f3f3f3;
	color: initial;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Focus outline for accessibility */
.edufires-chip:focus-visible {
    outline: 2px solid #FBB41A;
    outline-offset: 2px;
}

/**
 * ACTIVE – orange pill (#FBB41A)
 */
.edufires-chip.is-active,
.edufires-chip.is-active:hover {
    background: #FBB41A !important;
    border-color: #FBB41A !important;
    color: #111111 !important;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/**
 * Sticky category nav container end
 */

/**
 * Subcategory section after nav
 */
.subcategory-section {
	margin: 3.5rem 0;
}

.subcategory-section-title {
	font-size: 2rem;
	color: var(--edufires-base-text-color);
	font-weight: 600;
	margin-bottom: 2rem;
}

/* Subcategory Card */
.edufires-new-subcategory-card {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
	transition: box-shadow 0.25s ease;
}

/* Make whole card clickable */
.edufires-new-subcategory-card-link {
	display: block;
	position: relative;
	text-decoration: none;
	color: inherit;
}

/* Image section */
.edufires-new-subcategory-card-image-section {
	position: relative;
	padding-top: 66%;
	overflow: hidden;
}

/* Responsive, consistent image */
.edufires-new-subcategory-card-image-section img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

/* Bottom overlay */
.edufires-new-subcategory-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--edufires-base-text-color);
    min-height: 80px;
	box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.4);
	transition: background 0.3s ease;
}

/* Title  */
.edufires-new-subcategory-card-content-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.edufires-new-subcategory-card-content-arrow .arrow-img {
	position: absolute;
	bottom: 25px;
	right: 15px;
    transition: opacity 0.2s ease;
	width: 32px;
}

.edufires-new-subcategory-card .arrow-hover {
    opacity: 0;
}

.edufires-new-subcategory-card:hover .arrow-default {
    opacity: 0;
}

.edufires-new-subcategory-card:hover .arrow-hover {
    opacity: 1;
}


/* Hover effects */
.edufires-new-subcategory-card:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.edufires-new-subcategory-card:hover .edufires-new-subcategory-card-content {
	background: #000000;
}

/**
 * Menu search start
 */

.ast-header-search .search-form {
	border-radius: 999px !important;
	padding: 10px 12px !important;
	font-size: 16px;
}

/* Text input */
.ast-header-search .search-field {
	padding: 0 40px 0 20px !important;
	border: none !important;
}

.ast-header-search .ast-icon {
	flex: 0 0 auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	background-color: var(--edufires-orange-color) !important;
	cursor: pointer !important;
}

.ast-header-search .ast-icon svg {
	margin: 0;
}

/**
 * Menu search end
 */

/**
 * Post page start
 */

.post .entry-meta {
	text-align: right;
	margin-top: 2rem;
	margin-bottom: 2rem !important;
}

/**
 * Post page end
 */

/**
 * Newsletter footer start
 */

.footer-newsletter-box {
    background: var(--edufires-orange-color);
    border-radius: 24px;
    padding: 70px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 50px 0px;
}

.newsletter-left,
.newsletter-form-wrap {
  flex: 1;
}

/* LEFT SIDE */

.newsletter-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #000000;
}

.newsletter-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000 !important;
}

/* RIGHT SIDE */
.newsletter-form-wrap {
    display: flex;
}

.newsletter-form-wrap form {
	width: 100%;	
}

/* FORM */
.newsletter-inline-form {
    display: flex;
}

.newsletter-inline-form input[type="email"],
.newsletter-inline-form input[type="submit"] {
    height: 56px;
    padding: 0 20px;
    border: none;
    outline: none;
	font-size: 16px;
}

.newsletter-inline-form input[type="email"] {
	flex: 1;
	width: 100%;
    border-radius: 12px 0 0 12px;
}

.newsletter-inline-form input[type="submit"] {
    background: var(--edufires-base-text-color);
    color: var(--edufires-orange-color);
    font-weight: 600;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
}

.newsletter-inline-form input[type="submit"]:hover {
    background: #1A1A1A;
}

@media (min-width: 922px) and (max-width: 1140px) {
	.footer-newsletter-box {
		margin-left: 10px;
		margin-right: 10px;	
	}
}

@media (max-width: 768px) {
    .footer-newsletter-box {
        padding: 50px 15px;
        flex-direction: column;
        text-align: center;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-form-wrap {
        justify-content: center;
    }
}

/**
 * Newsletter footer end
 */

/**
 * Blog card start
 */

.edufires-blog-card-wrapper {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.edufires-blog-card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.edufires-blog-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.edufires-blog-card-body {
    padding: 18px 18px 22px 18px;
}

.edufires-blog-card-date {
    text-align: right;
    font-size: 14px;
    color: var(--edufires-alt-text-color);
    margin-bottom: 10px;
}

.edufires-blog-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--edufires-base-text-color);
    line-height: 1.3;
}

.edufires-blog-card-excerpt {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
}


.edufires-blog-card-readmore {
    font-weight: 600;
    font-size: 15px;
	color: var(--edufires-base-text-color);
}

.edufires-blog-card-readmore .caret {
	padding-left: 7px;
	color: var(--edufires-orange-color);
}

.edufires-blog-card-wrapper:hover .edufires-blog-card-readmore .read-more-text{
	text-decoration: underline;
	text-decoration-color: var(--edufires-orange-color);
	text-underline-offset: 7px;
	text-decoration-thickness: 2px;
}

/**
 * Blog card end
 */

/**
 * QuickTag - File attachment/s start
 */

.file-attachments {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.file-attachments > * {
	flex: 1 1 250px;
}

.file-attachment{
	display: block;
	text-decoration: none;
	padding: 20px;
	border-radius: 20px;
	background: #F3F3F3;
	box-shadow: 0 10px 26px rgba(0,0,0,.12);
	transition: transform .12s ease, box-shadow .12s ease;
}

.file-attachment:hover{
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(0,0,0,.14);
}

.file-attachment-badge {
	color: #8B8B8B;
}

.file-attachment-title{
	display: block;
	padding-top: 10px;
	padding-bottom: 20px;
	color: #333;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
}

.file-attachment-icon {
	display: block;
	text-align: right;
}

/**
 * QuickTag - File attachment/s end
 */

/**
 * Related posts start
 */

.edufires-related-posts-container {
	padding-top: 50px;
}

.edufires-related-posts-title {
	margin-bottom: 1.5rem;
	color: var(--edufires-base-text-color);
}

.edufires-related-posts {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.edufires-related-posts > * {
	flex: 1 1 300px;
	max-width: 350px;
}

/**
 * Related posts end
 */

.edufires-single-post-placeholder-image-section {
	margin-bottom: 2em;
}

/**
 * WP MapIt start
 */

.leaflet-popup-content {
	max-height: 600px;
	overflow-y: auto;
	padding-right: 6px; /* avoids scrollbar overlapping text */ */
}

.leaflet-popup-content h3 {
	font-size: 20px;
}

.leaflet-popup-content img {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

/**
 * WP MapIt end
 */

/**
 * Complianz start
 */

.cmplz-subtitle {
    color: var(--e-global-color-text);
}

/**
 * Complianz end
 */

/**
 * Astra pagination start
 */

.ast-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
}

.ast-pagination .nav-links .page-numbers {
	color: var(--edufires-base-text-color);
}

.ast-pagination .nav-links .page-numbers.current, .ast-pagination .nav-links .page-numbers.prev, .ast-pagination .nav-links .page-numbers.next {
	background: var(--edufires-orange-color);
    color: var(--ast-title-layout-bg);
    border-radius: 12px;
}

.ast-pagination .nav-links .page-numbers.prev, .ast-pagination .nav-links .page-numbers.next {
	padding: 0 0.881em;
	width: auto !important;
}

.ast-pagination .nav-links .page-numbers.current:hover {
	opacity: 1;
}

.ast-pagination .nav-links .page-numbers:hover {
  opacity: 0.8;
}

/**
 * Astra pagination end
 */