/* Shared component refinements loaded after the page-specific styles. */

/* Unified circular icon treatment */

.contact-page__header-icon,
.contact-form-card__icon,
.contact-info-card__icon,
.sitemap-page__header-icon,
.information-information .information-page__icon,
.category-sidebar__icon,
.account-account .account-menu-card__icon,
.home-choice__icon,
.cart-heading__eyebrow,
.checkout-heading__icon,
.blog-category-sidebar__icon,
.blog-blog .article-list h2::before,
.blog-blog_category .article-list h2::before,
.blog-blog #content > .easy-blog > h1::before,
.blog-blog_category #content > .easy-blog > h2::before,
.blog-article .article-title h2::before,
.breadcrumb > li:first-child > a {
	background: #fff1e6;
	border: 1px solid #ffd2af;
	box-sizing: border-box;
	color: var(--ktv-orange-600);
}

.contact-page__header-icon,
.contact-form-card__icon,
.contact-info-card__icon,
.sitemap-page__header-icon,
.information-information .information-page__icon,
.category-sidebar__icon,
.account-account .account-menu-card__icon,
.home-choice__icon,
.cart-heading__eyebrow,
.checkout-heading__icon {
	font-size: 21px;
}

.contact-page__header-icon > .fa,
.contact-form-card__icon > .fa,
.contact-info-card__icon > .fa,
.sitemap-page__header-icon > .fa,
.information-information .information-page__icon > .fa,
.category-sidebar__icon > .fa,
.account-account .account-menu-card__icon > .fa,
.home-choice__icon > .fa,
.cart-heading__eyebrow > .fa,
.checkout-heading__icon > .fa {
	font-size: 21px;
}

.blog-category-sidebar__icon > .fa {
	font-size: 21px;
}

.cart-empty__icon > .fa {
	font-size: 35px;
}

.breadcrumb > li:first-child .fa {
	font-size: 18px;
}

.blog-blog .article-list h2::before,
.blog-blog_category .article-list h2::before {
	font-size: 18px;
}

.cart-empty__icon {
	background: #fff1e6;
	border: 1px solid #ffd2af;
	box-sizing: border-box;
	color: var(--ktv-orange-600);
}

/* Account navigation: use the complete card width for link states. */

.account-account .account-menu-card__links {
	margin: 0 -22px -10px;
}

.account-account .account-menu-card__links a {
	margin: 0;
	padding-left: 22px;
	padding-right: 22px;
}

.account-account .account-menu-card__links a:hover,
.account-account .account-menu-card__links a:focus,
.account-account .account-menu-card__links a.active,
.account-account .account-menu-card__links a[aria-current="page"] {
	background: #fff0e4;
	box-shadow: inset 4px 0 0 var(--ktv-orange-600);
	color: var(--ktv-orange-600);
	padding-left: 26px;
}

/* Keep article content and comments as separate visual cards. */

.blog-article #content .container.easy-blog {
	background: transparent;
	border: 0;
	box-shadow: none;
	overflow: visible;
}

.blog-article .article-title {
	border-radius: var(--ktv-radius-lg) var(--ktv-radius-lg) 0 0;
}

.blog-article .article-subtitle {
	background: #fff;
	border-left: 1px solid #dce5ec;
	border-right: 1px solid #dce5ec;
}

.blog-article .article-description {
	background: linear-gradient(145deg, #fff 0%, #f8fbfd 100%);
	border: 1px solid #dce5ec;
	border-radius: 0 0 var(--ktv-radius-lg) var(--ktv-radius-lg);
	border-top: 0;
	box-shadow: 0 18px 48px rgba(3, 21, 37, 0.1);
}

.blog-article .article-comments,
.blog-article #form-comment {
	background: linear-gradient(145deg, #fff 0%, #f8fbfd 100%);
	border: 1px solid #dce5ec;
	border-radius: var(--ktv-radius-lg);
	box-shadow: 0 14px 38px rgba(3, 21, 37, 0.08);
	margin-top: 24px;
}

.blog-article #form-comment {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.blog-article .article-title {
		border-radius: var(--ktv-radius-md) var(--ktv-radius-md) 0 0;
	}

	.blog-article .article-description {
		border-radius: 0 0 var(--ktv-radius-md) var(--ktv-radius-md);
	}

	.blog-article .article-comments,
	.blog-article #form-comment {
		border-radius: var(--ktv-radius-md);
		margin-top: 18px;
	}
}

/* Blog category card button spacing */

.blog-blog_category #content .easy-blog .panel-body {
	padding-bottom: 18px;
}

.blog-blog_category .article-list .buttons {
	margin-bottom: 0;
}

/* Easy Blog pagination */

.easy-blog .row > .text-left:has(> .pagination) {
	text-align: center;
	width: 100%;
}

.easy-blog .row > .text-left:has(> .pagination) + .text-right {
	color: var(--ktv-muted);
	font-size: 14px;
	margin-top: 12px;
	text-align: center;
	width: 100%;
}

.easy-blog .pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin: 10px 0 0;
}

.easy-blog .pagination > li {
	display: block;
}

.easy-blog .pagination > li > a,
.easy-blog .pagination > li > span {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ktv-border);
	border-radius: 8px !important;
	color: var(--ktv-navy-900);
	display: inline-flex;
	float: none;
	font-size: 14px;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	line-height: 1;
	min-width: 42px;
	padding: 0 12px;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.easy-blog .pagination > li > a:hover,
.easy-blog .pagination > li > a:focus {
	background: #fff1e6;
	border-color: #ffc79d;
	box-shadow: 0 4px 12px rgba(3, 21, 37, 0.08);
	color: var(--ktv-orange-600);
	text-decoration: none;
}

.easy-blog .pagination > .active > span,
.easy-blog .pagination > .active > span:hover,
.easy-blog .pagination > .active > span:focus {
	background: var(--ktv-orange-600);
	border-color: var(--ktv-orange-600);
	color: #fff;
}

.easy-blog .pagination > .disabled > span,
.easy-blog .pagination > .disabled > a {
	background: #f2f5f7;
	border-color: var(--ktv-border);
	color: var(--ktv-muted);
	opacity: 0.7;
}

@media (max-width: 767px) {
	.easy-blog .pagination {
		gap: 5px;
	}

	.easy-blog .pagination > li > a,
	.easy-blog .pagination > li > span {
		height: 38px;
		min-width: 38px;
		padding: 0 10px;
	}

	.easy-blog .row > .text-left:has(> .pagination) + .text-right {
		line-height: 1.5;
		margin-top: 14px;
	}
}

/* Easy Blog pagination navigation glyphs */

.easy-blog .pagination > li:nth-last-child(2) > a,
.easy-blog .pagination > li:last-child > a {
	font-size: 0;
}

.easy-blog .pagination > li:nth-last-child(2) > a::before,
.easy-blog .pagination > li:last-child > a::before {
	font-family: FontAwesome;
	font-size: 17px;
	font-weight: normal;
	line-height: 1;
}

.easy-blog .pagination > li:nth-last-child(2) > a::before {
	content: "\f105";
}

.easy-blog .pagination > li:last-child > a::before {
	content: "\f101";
}

/* Homepage FAQ progressive disclosure */

.home-faq__extras {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.36s ease, opacity 0.24s ease, visibility 0s linear 0.36s;
	visibility: hidden;
}

.home-faq__extras-inner {
	min-height: 0;
	overflow: hidden;
}

.home-faq--expanded .home-faq__extras {
	grid-template-rows: 1fr;
	opacity: 1;
	transition-delay: 0s;
	visibility: visible;
}

.home-faq__more {
	margin-top: 18px;
	text-align: center;
}

.home-faq__more-button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ktv-navy-800);
	color: var(--ktv-navy-900);
	display: inline-flex;
	font-size: 15px;
	gap: 10px;
	justify-content: center;
	min-width: 245px;
}

.home-faq__more-button:focus:not(:focus-visible) {
	box-shadow: none;
	outline: none;
}

.home-faq__more-button:active {
	box-shadow: none;
}

.home-faq__more-button:focus-visible {
	outline: 3px solid rgba(255, 129, 38, 0.45);
	outline-offset: 2px;
}

.home-faq__more-button:hover,
.home-faq__more-button:focus {
	background: #fff1e6;
	border-color: var(--ktv-orange-600);
	color: var(--ktv-orange-600);
}

.home-faq__more-button .fa {
	color: var(--ktv-orange-600);
	font-size: 16px;
	transition: transform 0.18s ease;
}

.home-faq__more-button[aria-expanded="true"] .fa {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.home-faq__extras,
	.home-faq__more-button .fa {
		transition: none;
	}
}
