/*
	Theme Name: Hello Filterino
	Theme URI: https://filterino.com/
	Description: Hello Elementor child theme with Filterino dark brand styles.
	Author: Filterino
	Template: hello-elementor
	Version: 1.0.0
	Text Domain: hello-filterino
*/

:root {
	--ft-bg: #101010;
	--ft-bg-alt: #141414;
	--ft-surface: #1f1f1f;
	--ft-surface-2: #242424;
	--ft-border: #3a3a3a;
	--ft-primary: #FFC107;
	--ft-text: #FFFFFF;
	--ft-muted: #a8a8a8;
	--ft-radius: 14px;
}

/* ---------- Base ---------- */
body,
.site-main {
	background-color: var(--ft-bg);
	color: var(--ft-text);
}

a { color: var(--ft-primary); }
a:hover { color: #ffd45e; }

:focus-visible {
	outline: 2px solid var(--ft-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--ft-primary); color: #101010; }

/* ---------- Header ---------- */
.site-header {
	background-color: rgba(16, 16, 16, .92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--ft-border);
}
.site-header .site-description { color: var(--ft-muted); font-size: .85rem; }
.site-branding .custom-logo {
	max-width: 52px;
	height: auto;
	border-radius: 12px;
}
.site-navigation ul.menu > li > a {
	color: #d5d5d5;
	padding: .5rem .9rem;
	border-radius: 8px;
	font-size: .95rem;
	transition: color .2s, background-color .2s;
}
.site-navigation ul.menu > li > a:hover,
.site-navigation ul.menu > li.current-menu-item > a {
	color: var(--ft-primary);
	background: rgba(255, 193, 7, .08);
}

/* ---------- Footer ---------- */
.site-footer {
	background-color: var(--ft-bg-alt);
	border-top: 1px solid var(--ft-border);
	color: var(--ft-muted);
}
.site-footer a { color: #d5d5d5; }
.site-footer a:hover { color: var(--ft-primary); }
.site-footer .copyright { font-size: .85rem; color: #777; }

/* ---------- Single post / page content ---------- */
.site-main .page-header,
.single .site-main,
.archive .site-main { max-width: 800px; margin-inline: auto; padding-inline: 20px; }

.single .entry-title,
.archive .entry-title { color: var(--ft-text); }

.single .entry-content,
.page-content {
	font-size: 1.02rem;
	line-height: 2;
	color: #e3e3e5;
	word-wrap: break-word;
}
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.page-content h2, .page-content h3 {
	color: var(--ft-text);
	line-height: 1.6;
	margin-top: 2em;
	margin-bottom: .6em;
}
.single .entry-content h2 { border-inline-start: 4px solid var(--ft-primary); padding-inline-start: .7em; }
.single .entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.single .entry-content img,
.page-content img { border-radius: var(--ft-radius); }
.single .entry-content ul,
.single .entry-content ol { padding-inline-start: 1.4em; }
.single .entry-content li { margin-bottom: .5em; }
.single .entry-content blockquote {
	background: var(--ft-surface);
	border-inline-start: 4px solid var(--ft-primary);
	border-radius: 10px;
	margin: 1.5em 0;
	padding: 1em 1.2em;
	color: #d5d5d5;
}
.single .entry-content table {
	width: 100%;
	border-collapse: collapse;
	background: var(--ft-surface);
	border-radius: 10px;
	overflow: hidden;
}
.single .entry-content th,
.single .entry-content td,
.page-content th, .page-content td {
	border: 1px solid var(--ft-border);
	padding: .6em .9em;
	text-align: right;
}
.single .entry-content th { background: var(--ft-surface-2); color: var(--ft-text); }

.post-navigation .nav-links a,
.pagination .nav-links .page-numbers {
	color: #d5d5d5;
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	border-radius: 10px;
	padding: .5em 1em;
	display: inline-block;
	margin: 2px;
	transition: border-color .2s, color .2s;
}
.post-navigation .nav-links a:hover,
.pagination .nav-links .page-numbers:hover,
.pagination .nav-links .current {
	color: var(--ft-primary);
	border-color: var(--ft-primary);
}

/* ---------- Search form ---------- */
.search-form input[type="search"] {
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	color: var(--ft-text);
	border-radius: 10px;
	padding: .55em 1em;
}

/* ---------- Elementor posts widget (blog) ---------- */
.elementor-widget-posts .e-load-more-anchor,
.elementor-pagination { text-align: center; }
.elementor-widget-posts .pagination { margin-top: 2rem; }

/* ---------- Motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- FT posts grid (shortcode) ---------- */
.ft-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
}
.ft-post-card {
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius);
	overflow: hidden;
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ft-post-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 193, 7, .55);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}
.ft-post-thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ft-surface-2); }
.ft-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft-post-thumb-empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1f1f1f, #2a2a2a); }
.ft-post-badge {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	background: rgba(16, 16, 16, .85);
	color: var(--ft-primary);
	font-size: .75rem;
	font-weight: 600;
	padding: .25em .7em;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
.ft-post-body { padding: 16px 18px 18px; }
.ft-post-title { font-size: 1.02rem; line-height: 1.7; margin: 0 0 8px; }
.ft-post-title a { color: var(--ft-text); text-decoration: none; }
.ft-post-title a:hover { color: var(--ft-primary); }
.ft-post-excerpt { color: #c9c9c9; font-size: .88rem; line-height: 1.9; margin: 0 0 12px; }
.ft-post-date { color: #777; font-size: .78rem; }
.ft-pagination { margin-top: 34px; text-align: center; }
.ft-pagination .page-numbers {
	display: inline-block;
	margin: 3px;
	padding: .5em 1.05em;
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	border-radius: 10px;
	color: #d5d5d5;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.ft-pagination .page-numbers:hover,
.ft-pagination .page-numbers.current {
	color: var(--ft-primary);
	border-color: var(--ft-primary);
}

/* ---------- FT single post enhancements ---------- */
.ft-breadcrumb { font-size: .82rem; color: #777; margin-bottom: 18px; }
.ft-breadcrumb a { color: #a8a8a8; text-decoration: none; }
.ft-breadcrumb a:hover { color: var(--ft-primary); }
.ft-model-box {
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius);
	padding: 22px 24px;
	margin: 34px 0;
}
.ft-model-box h2 { margin-top: 0; border: none; padding: 0; }
.ft-model-grid { display: grid; grid-template-columns: 1fr 220px; gap: 22px; align-items: center; }
.ft-model-grid img { width: 100%; border-radius: 12px; }
@media (max-width: 600px) { .ft-model-grid { grid-template-columns: 1fr; } }
.ft-model-box ul { padding-inline-start: 1.2em; }
.ft-model-box li { margin-bottom: .4em; }
.ft-related {
	background: var(--ft-bg-alt);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius);
	padding: 22px 24px;
	margin: 34px 0 10px;
}
.ft-related h2 { margin-top: 0; border: none; padding: 0; }
.ft-related ul { margin: 0; padding-inline-start: 0; list-style: none; }
.ft-related li { margin-bottom: .5em; }
.ft-related li::before { content: "← "; color: var(--ft-primary); }
.ft-related a { color: #d5d5d5; text-decoration: none; }
.ft-related a:hover { color: var(--ft-primary); }

.ft-model-box .fx4-btn {
	display: inline-block;
	background: var(--ft-primary);
	color: #101010;
	font-weight: 700;
	padding: .7em 1.4em;
	border-radius: 12px;
	text-decoration: none;
	transition: filter .2s;
}
.ft-model-box .fx4-btn:hover { filter: brightness(1.1); color: #101010; }

/* ---------- Polish: brand CTA buttons everywhere ---------- */
.fx4-btn {
	display: inline-block !important;
	background: linear-gradient(135deg, #FFC107, #FFB300);
	color: #101010 !important;
	font-weight: 700;
	padding: .8em 1.6em;
	border-radius: 12px;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(255, 193, 7, .25);
	transition: transform .2s, box-shadow .2s, filter .2s;
}
.fx4-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 193, 7, .35); filter: brightness(1.05); }
.entry-content .fx4-btn { text-decoration: none; }

/* ---------- Polish: spec tables (home + posts) ---------- */
.ft-spec-table table,
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	background: #1f1f1f;
	border-radius: 12px;
	overflow: hidden;
	font-size: .95rem;
}
.ft-spec-table th,
.ft-spec-table td,
.entry-content th,
.entry-content td {
	border: 1px solid #3a3a3a !important;
	padding: .65em .9em;
	text-align: right;
}
.ft-spec-table th,
.entry-content th { background: #242424; color: #fff; }
.ft-spec-table caption { caption-side: bottom; color: #777; font-size: .8rem; padding-top: .5em; }

/* ---------- Polish: hero glow on home ---------- */
.elementor-15 .elementor-section:first-child {
	background-image: radial-gradient(ellipse at 50% 0%, rgba(255, 193, 7, .07), transparent 55%) !important;
}

/* ---------- Polish: entry meta / date row ---------- */
.single .post-date, .single .entry-meta { color: #777; font-size: .85rem; }

/* ---------- Polish: blog hero spacing ---------- */
.elementor-widget-heading .elementor-heading-title { letter-spacing: 0; }

/* ---------- Placeholder for lazy/remote images while loading ---------- */
.entry-content figure,
.page-content figure {
	background: #1f1f1f;
	border-radius: 14px;
	overflow: hidden;
}
.page-content img { max-width: 100%; height: auto; }

/* ---------- Accordion (home FAQ) dark brand ---------- */
.elementor-accordion .elementor-accordion-item {
	border: 1px solid var(--ft-border) !important;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 10px;
	background: var(--ft-surface);
}
.elementor-accordion .elementor-tab-title {
	color: #fff !important;
	padding: 16px 20px !important;
	font-weight: 600;
}
.elementor-accordion .elementor-tab-title.elementor-active { color: var(--ft-primary) !important; }
.elementor-accordion .elementor-tab-content {
	background: var(--ft-surface) !important;
	color: #c9c9c9 !important;
	border-top: 1px solid var(--ft-border) !important;
	padding: 14px 20px 18px !important;
}

/* ---------- Header CTA menu pill ---------- */
.site-navigation ul.menu > li.ft-cta > a {
	background: linear-gradient(135deg, #FFC107, #FFB300) !important;
	color: #101010 !important;
	font-weight: 700;
	border-radius: 999px;
	padding: .45em 1.3em !important;
	margin-inline-start: .6em;
	box-shadow: 0 4px 14px rgba(255, 193, 7, .3);
}
.site-navigation ul.menu > li.ft-cta > a:hover {
	filter: brightness(1.06);
	background: linear-gradient(135deg, #FFC107, #FFB300) !important;
}

/* ---------- Footer polish ---------- */
.site-footer .footer-inner { padding: 26px 0; }
.site-footer .site-navigation ul.menu > li > a { font-size: .9rem; }

/* ---------- Stats + gallery hover (home) ---------- */
.elementor-widget-image a { display: block; transition: transform .25s; }
.elementor-widget-image a:hover { transform: translateY(-4px); }
.elementor-widget-image .widget-image-caption { color: var(--ft-muted); font-size: .82rem; margin-top: 8px; }

/* ---------- Content figures: constrained, centered, captioned ---------- */
.page-content figure,
.entry-content figure {
	max-width: 620px;
	margin-inline: auto;
}
.page-content figcaption,
.entry-content figcaption {
	color: #777;
	font-size: .8rem;
	text-align: center;
	padding: 10px 6px 2px;
}
.page-content p > img,
.entry-content p > img { display: block; margin-inline: auto; }

/* ---------- Archive (category/tag) brand layout ---------- */
.ft-archive { max-width: 1180px; margin-inline: auto; padding: 0 20px 60px; }
.ft-archive-hero {
	background: var(--ft-bg-alt);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius);
	padding: 46px 28px;
	margin: 26px 0 34px;
	text-align: center;
}
.ft-archive-title { color: #fff; font-size: 2rem; margin: 0 0 10px; }
.ft-archive-desc { color: var(--ft-muted); max-width: 640px; margin-inline: auto; }
.ft-archive .ft-post-title h2 { font-size: 1.02rem; }

/* ---------- 404 + search form ---------- */
.ft-404 { max-width: 900px; margin-inline: auto; padding: 0 20px 60px; }
.ft-404-hero {
	background: var(--ft-bg-alt);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius);
	text-align: center;
	padding: 64px 28px;
	margin: 26px 0 44px;
}
.ft-404-code {
	display: inline-block;
	font-size: 4.5rem;
	font-weight: 800;
	color: var(--ft-primary);
	line-height: 1;
	margin-bottom: 18px;
}
.ft-404-hero h1 { color: #fff; font-size: 1.7rem; margin: 0 0 12px; }
.ft-404-hero p { color: var(--ft-muted); margin-bottom: 26px; }
.ft-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.ft-404-btn {
	display: inline-block;
	padding: .75em 1.5em;
	border-radius: 12px;
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	color: #d5d5d5 !important;
	text-decoration: none !important;
	transition: border-color .2s, color .2s;
}
.ft-404-btn:hover { color: var(--ft-primary) !important; border-color: var(--ft-primary); }
.ft-404-btn-primary {
	background: linear-gradient(135deg, #FFC107, #FFB300);
	color: #101010 !important;
	font-weight: 700;
	border: none;
	box-shadow: 0 6px 18px rgba(255, 193, 7, .25);
}
.ft-404-search { display: flex; gap: 10px; max-width: 420px; margin-inline: auto; }
.ft-404-search input[type="search"] {
	flex: 1;
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	color: #fff;
	border-radius: 10px;
	padding: .65em 1em;
}
.ft-404-search button {
	background: var(--ft-primary);
	color: #101010;
	font-weight: 700;
	border: none;
	border-radius: 10px;
	padding: .65em 1.4em;
	cursor: pointer;
}
.ft-404-search button:hover { filter: brightness(1.08); }
.ft-404-posts h2 { color: #fff; text-align: center; margin-bottom: 26px; }
.ft-archive-hero .ft-404-search { margin-top: 18px; }

/* ---------- My photos page ---------- */
.ft-my-credits { margin: 18px 0 26px; text-align: center; }
.ft-credit-chip {
	display: inline-block;
	background: rgba(255, 193, 7, .1);
	border: 1px solid rgba(255, 193, 7, .45);
	color: var(--ft-primary);
	border-radius: 999px;
	padding: .6em 1.4em;
	font-weight: 600;
	font-size: .95rem;
}
.ft-credit-chip.empty { background: var(--ft-surface); border-color: var(--ft-border); color: #d5d5d5; }
.ft-credit-chip a { color: var(--ft-primary); }
.ft-order { position: relative; }
.ft-order-wait { display: grid; place-items: center; min-height: 180px; }
.ft-order-status {
	display: inline-block;
	font-size: .78rem;
	font-weight: 600;
	border-radius: 999px;
	padding: .3em .9em;
	margin-bottom: 8px;
}
.ft-order-status.st-processing { background: rgba(255, 193, 7, .12); color: var(--ft-primary); }
.ft-order-status.st-done { background: rgba(76, 175, 80, .15); color: #7bc97f; }
.ft-order-status.st-failed { background: rgba(244, 67, 54, .12); color: #ef7f76; }
.ft-order .fx4-btn { margin-top: 10px; font-size: .88rem; padding: .6em 1.2em; }
.ft-order-err { display: block; color: #b9a06a; font-size: .8rem; line-height: 1.8; margin-top: 8px; }
.ft-my-empty {
	grid-column: 1 / -1;
	text-align: center;
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius);
	padding: 46px 24px;
	color: #c9c9c9;
}
.ft-my-empty .fx4-btn { display: inline-block; margin-top: 16px; }
.ft-my-more { text-align: center; margin-top: 30px; }

#ft-my-more.ft-hidden { display: none !important; }

/* ---------- Enamad trust seal (footer) ---------- */
.site-footer .footer-inner { align-items: center; gap: 22px; flex-wrap: wrap; }
.ft-seal img {
	display: block;
	height: 74px;
	width: auto;
	border-radius: 10px;
	background: #fff;
	padding: 4px;
	transition: transform .2s;
}
.ft-seal img:hover { transform: translateY(-2px); }
