/* =========================================================
   Custom Footer: 4-column layout + styled copyright bar
   ========================================================= */

/* Override theme's white footer background */
.site-info {
	background-color: #1a1a2e !important;
	color: rgba(255, 255, 255, 0.75);
}

.site-info a {
	color: rgba(255, 255, 255, 0.75);
}

.site-info a:hover {
	color: #ffffff;
}

.gpc-footer-columns {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 32px;
}

@media (max-width: 900px) {
	.gpc-footer-columns {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 540px) {
	.gpc-footer-columns {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 32px 16px 24px;
	}
}

.gpc-footer-col {
	text-align: left;
}

.gpc-footer-widget__title {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.15);
	text-align: left;
}

.gpc-footer-text {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
	text-align: left;
}

.gpc-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.gpc-footer-links li {
	margin-bottom: 8px;
}

.gpc-footer-links a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.gpc-footer-links a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Reset theme's flex layout so columns stack above footer bar */
.site-info .inside-site-info {
	display: block !important;
	padding: 0 !important;
	max-width: 100% !important;
}

/* Footer bar — theme's copyright-bar */
.site-info .copyright-bar {
	background: rgba(0, 0, 0, 0.25);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0;
	margin: 0;
}

.gpc-footer-bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.site-info .copyright-bar .copyright {
	color: rgba(255, 255, 255, 0.45);
	font-size: 13.5px;
	font-weight: 400;
}

.site-info .copyright-bar .copyright strong {
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
}

.gpc-footer-bar-links {
	display: flex;
	gap: 24px;
}

.gpc-footer-bar-links a {
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	font-size: 13.5px;
	transition: color 0.2s ease;
}

.gpc-footer-bar-links a:hover {
	color: #ffffff;
}

/* When menu is assigned via Appearance > Menus */
.gpc-footer-bar-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}

.gpc-footer-bar-nav li {
	margin: 0;
}

.gpc-footer-bar-nav a {
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	font-size: 13.5px;
	transition: color 0.2s ease;
}

.gpc-footer-bar-nav a:hover {
	color: #ffffff;
}

@media (max-width: 540px) {
	.gpc-footer-bar-inner {
		flex-direction: column;
		text-align: center;
	}
}

/* Footer widget defaults */
.gpc-footer-widget {
	margin-bottom: 16px;
}

.gpc-footer-widget:last-child {
	margin-bottom: 0;
}

/* Style all widgets inside footer columns */
.site-info .gpc-footer-col ul,
.site-info .gpc-footer-widget ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.site-info .gpc-footer-col ul li,
.site-info .gpc-footer-widget ul li {
	margin-bottom: 8px;
	list-style: none !important;
}

.site-info .gpc-footer-col a,
.site-info .gpc-footer-widget a {
	color: rgba(255, 255, 255, 0.75) !important;
	text-decoration: none !important;
	font-size: 14px;
	transition: color 0.2s ease;
}

.site-info .gpc-footer-col a:hover,
.site-info .gpc-footer-widget a:hover {
	color: #ffffff !important;
	text-decoration: none !important;
}

/* Recent posts date */
.gpc-footer-col .widget_recent_entries .post-date {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	margin-top: 2px;
}

/* =========================================================
   Global Typography - Headings & Body
   ========================================================= */
.entry-content h1,
.entry-title {
	font-family: 'Montserrat', 'Inter', sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.3;
	margin-bottom: 0.5em;
	color: #1a202c;
}

.entry-content h2 {
	font-family: 'Montserrat', 'Inter', sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 1.5em;
	margin-bottom: 0.6em;
	color: #1a202c;
}

.entry-content h3 {
	font-family: 'Montserrat', 'Inter', sans-serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 1.3em;
	margin-bottom: 0.5em;
	color: #2d3748;
}

.entry-content h4 {
	font-family: 'Montserrat', 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 1.2em;
	margin-bottom: 0.4em;
	color: #2d3748;
}

.entry-content p {
	font-size: 17px;
	line-height: 1.8;
	color: #2d3748;
}

.entry-content li {
	font-size: 17px;
	line-height: 1.7;
	color: #2d3748;
}

@media (max-width: 768px) {
	.entry-content h1,
	.entry-title {
		font-size: 26px;
	}
	.entry-content h2 {
		font-size: 22px;
	}
	.entry-content h3 {
		font-size: 19px;
	}
	.entry-content p,
	.entry-content li {
		font-size: 16px;
	}
}

/* =========================================================
   Paragraph spacing fix for page/entry content
   ========================================================= */
.entry-content p {
	margin-bottom: 0.8em;
}

.entry-content .wp-block-heading + p,
.entry-content h2 + p,
.entry-content h3 + p {
	margin-top: 0.3em;
}

/* =========================================================
   Header navigation bold
   ========================================================= */
.main-navigation .main-nav ul li a {
	font-weight: 600 !important;
}

/* =========================================================
   H1 title bold
   ========================================================= */
.entry-title {
	font-weight: 800 !important;
}

/* =========================================================
   Image center alignment
   ========================================================= */
.entry-content .wp-block-image {
	text-align: center;
}

.entry-content .wp-block-image figure.aligncenter,
.entry-content .wp-block-image .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.entry-content .wp-block-image img {
	display: inline-block;
}

/* =========================================================
   FAQ Accordion Style
   ========================================================= */
.rank-math-block .rank-math-list-item {
	border: none;
	border-bottom: 1px solid #edf2f7;
	border-radius: 0;
	margin-bottom: 0;
	overflow: hidden;
	background: transparent;
}

.rank-math-block .rank-math-list-item:last-child {
	border-bottom: none;
}

.rank-math-block .rank-math-question {
	margin: 0;
	padding: 16px 48px 16px 20px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	user-select: none;
	line-height: 1.5;
	color: #1a202c;
}

.rank-math-block .rank-math-question::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 300;
	color: #718096;
	transition: transform 0.25s ease;
}

.rank-math-block .rank-math-list-item.faq-open .rank-math-question::after {
	content: "\2212";
	color: #2b6cb0;
}

.rank-math-block .rank-math-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	padding: 0 20px;
	font-size: 15px;
	line-height: 1.7;
	color: #4a5568;
}

.rank-math-block .rank-math-list-item.faq-open .rank-math-answer {
	max-height: 500px;
	padding: 0 20px 18px;
	border-top: 1px solid #edf2f7;
}

/* =========================================================
   Content Boxes: Tip, Warning, Quick Answer, Pro Tip
   ========================================================= */
.hb-box {
	border-radius: 10px;
	padding: 20px 24px;
	margin: 24px 0;
	font-size: 16px;
	line-height: 1.7;
	position: relative;
}

.hb-box strong {
	display: block;
	margin-bottom: 6px;
	font-size: 17px;
}

.hb-box-tip {
	background: #f0fdf4;
	border-left: 4px solid #22c55e;
	color: #166534;
}

.hb-box-warning {
	background: #fefce8;
	border-left: 4px solid #eab308;
	color: #854d0e;
}

.hb-box-info {
	background: #eff6ff;
	border-left: 4px solid #3b82f6;
	color: #1e40af;
}

.hb-box-quick {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 12px;
	padding: 24px 28px;
}

.hb-box-quick strong {
	font-size: 20px;
	color: #fff;
}

.hb-box-quick p {
	color: rgba(255,255,255,0.9) !important;
	margin-bottom: 0.4em;
}

.hb-box-quick ol,
.hb-box-quick ul {
	color: rgba(255,255,255,0.9);
	padding-left: 20px;
}

.hb-box-quick li {
	color: rgba(255,255,255,0.9) !important;
	margin-bottom: 4px;
}

/* Styled comparison table */
.hb-table-compare {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 15px;
	border-radius: 8px;
	overflow: hidden;
}

.hb-table-compare thead th {
	background: #1a202c;
	color: #fff;
	padding: 14px 16px;
	text-align: left;
	font-weight: 600;
}

.hb-table-compare tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	color: #2d3748;
}

.hb-table-compare tbody tr:nth-child(even) {
	background: #f7fafc;
}

.hb-table-compare tbody tr:hover {
	background: #edf2f7;
}

.hb-check {
	color: #22c55e;
	font-weight: 700;
}

.hb-cross {
	color: #ef4444;
	font-weight: 700;
}

/* Step cards */
.hb-step-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	margin: 16px 0;
}

.hb-step-num {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
}

.hb-step-content h4 {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 600;
	color: #1a202c;
}

.hb-step-content p {
	margin: 0;
	font-size: 15px;
	color: #4a5568;
	line-height: 1.6;
}

@media (max-width: 540px) {
	.hb-step-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}
