/* =================================================
   Ohmify Homepage Styles
   Includes shared styles from join-style.css so
   this file is fully self-contained.
   Palette: #2d3142 navy, #f7a541 orange,
            #F87418 orange CTA, #696b73 body gray
   ================================================= */


/* -------------------------------------------------
   Shared utilities (from join-style.css)
   ------------------------------------------------- */
.align-em-center {
	text-align: center;
}

.mx780,
.container.mx780 {
	max-width: 780px;
	margin: auto;
}

.custom_block_title {
	font-size: 40px;
	line-height: 1.2em;
	font-weight: 600;
	margin-bottom: 50px;
	color: #2d3142;
}

.sub_title {
	font-size: 24px;
	color: #f7a541;
	line-height: 1.33em;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
}

.text-block p {
	font-size: 20px;
	color: #696b73;
	line-height: 1.4em;
}

.text-block p strong {
	color: #313131;
}

.larger-text p {
	font-size: 28px;
}

.item_desc {
	font-size: 20px;
	line-height: 1.3;
}

.cta_button a {
	display: block;
	max-width: fit-content;
	margin: 0 auto;
	line-height: normal;
}

.page-template-page-homepage-template .button {
	background-color: transparent !important;
}

.page-template-page-homepage-template .button a {
	background-color: #f7a541;
	padding: 16px 40px;
	color: #fff;
	border-radius: 5px;
	font-size: 18px;
	font-weight: 600;
	transition: filter 0.2s;
}

.page-template-page-homepage-template .button a:hover {
	filter: brightness(110%);
}


/* -------------------------------------------------
   Featured in (from join-style.css)
   ------------------------------------------------- */
.featured-in-section {
	margin-top: 50px;
}

.featured-in-section .featured-text {
	font-size: 24px;
	font-weight: 600;
	text-align: center;
	background-color: #fff;
	padding: 20px;
	width: fit-content;
	margin: -52px auto 0;
}

.featured-in-section .featured-in {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.featured-in-section .featured-in img {
	width: 20%;
	padding: 0 15px;
}

.featured-in-section .border-container {
	border: 1px solid #DFDFDF;
}


/* -------------------------------------------------
   Container widths
   ------------------------------------------------- */
.hp-hero-section .container,
.hp-topics-section .container,
.hp-projects-section .container,
.hp-social-section .container,
.hp-newsletter-section .container,
.hp-guides-section .container,
.hp-final-cta-section .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}


/* -------------------------------------------------
   Hero section
   ------------------------------------------------- */
.hp-hero-section {
	padding: 60px 0 50px;
	background-color: #fff;
}

.hp-hero-inner {
	display: grid;
	grid-template-columns: 57% 40%;
	grid-column-gap: 30px;
	align-items: center;
}

.hp-anno {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #f7a541;
	margin-bottom: 16px;
}

.hp-hero-title {
	font-size: 52px;
	line-height: 1.15em;
	font-weight: 600;
	color: #2d3142;
	margin-bottom: 20px;
}

.hp-hero-intro p {
	font-size: 22px;
	line-height: 1.55em;
	color: #696b73;
	margin-bottom: 0;
}

.hp-hero-ctas {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 36px;
}

.hp-btn-primary {
	display: inline-block;
	background-color: #f7a541;
	color: #fff;
	padding: 16px 40px;
	border-radius: 5px;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	transition: filter 0.2s;
}

.hp-btn-primary:hover {
	filter: brightness(110%);
	color: #fff;
	text-decoration: none;
}

.hp-btn-secondary {
	display: inline-block;
	background-color: #f9f9f9;
	color: #2d3142;
	padding: 16px 24px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid #e7e8eb;
	transition: background-color 0.2s;
}

.hp-btn-secondary:hover {
	background-color: #f0f0f0;
	text-decoration: none;
	color: #2d3142;
}

.hp-hero-image img {
	width: 100%;
	display: block;
}

.hp-stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 50px;
}

.hp-stat {
	background-color: #f9f9f9;
	border: 1px solid #e7e8eb;
	border-radius: 8px;
	padding: 20px 24px;
}

.hp-stat-number {
	font-size: 28px;
	font-weight: 700;
	color: #2d3142;
	margin-bottom: 4px;
}

.hp-stat-label {
	font-size: 15px;
	color: #696b73;
	line-height: 1.4;
}


/* -------------------------------------------------
   Topics / What you learn
   ------------------------------------------------- */
.hp-topics-section {
	padding: 60px 0 70px;
	background-color: #f9f9f9;
}

.hp-topics-section .custom_block_title {
	margin-bottom: 16px;
}

.hp-topics-section .text-block {
	margin-bottom: 50px;
}

.hp-topics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.hp-topic-card {
	background-color: #fff;
	border: 1px solid #e7e8eb;
	border-radius: 8px;
	padding: 24px;
}

.hp-topic-icon {
	margin-bottom: 14px;
}

.hp-topic-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	margin: 0;
}

.hp-topic-name {
	font-size: 18px;
	font-weight: 700;
	color: #2d3142;
	margin-bottom: 8px;
	line-height: 1.3;
}

.hp-topic-desc {
	font-size: 16px;
	color: #696b73;
	line-height: 1.5;
}


/* -------------------------------------------------
   Projects / What you build
   ------------------------------------------------- */
.hp-projects-section {
	padding: 60px 0 70px;
	background-color: #fff;
}

.hp-projects-section .custom_block_title {
	margin-bottom: 16px;
}

.hp-projects-section .text-block {
	margin-bottom: 40px;
}

.hp-projects-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 10px;
}

.hp-project-pill {
	background-color: #f9f9f9;
	border: 1px solid #e7e8eb;
	border-radius: 30px;
	padding: 10px 22px;
	font-size: 16px;
	color: #2d3142;
	font-weight: 500;
}


/* -------------------------------------------------
   Social proof
   ------------------------------------------------- */
.hp-social-section {
	padding: 60px 0 70px;
	background-color: #f9f9f9;
}

.hp-quote-card {
	background-color: #fff;
	border: 1px solid #e7e8eb;
	border-radius: 8px;
	padding: 28px 32px;
	margin-top: 40px;
}

.hp-quote-text {
	font-size: 20px;
	color: #696b73;
	line-height: 1.6em;
	font-style: italic;
	margin-bottom: 20px;
}

.hp-quote-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hp-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #f7a541;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	flex-shrink: 0;
}

.hp-author-name {
	font-size: 16px;
	font-weight: 700;
	color: #2d3142;
}

.hp-author-details {
	font-size: 14px;
	color: #696b73;
}

.hp-milestone-block {
	display: flex;
	align-items: center;
	gap: 20px;
	background-color: #2d3142;
	border-radius: 8px;
	padding: 24px 28px;
	margin-top: 24px;
}

.hp-milestone-number {
	font-size: 42px;
	font-weight: 700;
	color: #f7a541;
	flex-shrink: 0;
	line-height: 1;
}

.hp-milestone-text {
	font-size: 18px;
	color: #fff;
	line-height: 1.6;
}

.hp-milestone-text p {
	font-size: 18px;
	color: #fff;
	line-height: 1.6;
}

.hp-milestone-text strong {
	color: #f7a541;
}

.hp-milestone-text p strong {
	color: #f7a541;
}


/* -------------------------------------------------
   Newsletter signup
   ------------------------------------------------- */
.hp-newsletter-section {
	padding: 60px 0 70px;
	background-color: #fff;
}

.hp-newsletter-section .custom_block_title {
	margin-bottom: 16px;
}

.hp-newsletter-section .text-block {
	margin-bottom: 30px;
}

.hp-newsletter-form {
	/*max-width: 480px;*/
	margin: 0 auto;
}


/* -------------------------------------------------
   Free guides teaser
   ------------------------------------------------- */
.hp-guides-section {
	padding: 60px 0 70px;
	background-color: #f9f9f9;
}

.hp-guides-section .custom_block_title {
	margin-bottom: 16px;
}

.hp-guides-section .text-block {
	margin-bottom: 40px;
}

.hp-guides-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 10px;
}

.hp-guide-card {
	background-color: #fff;
	border: 1px solid #e7e8eb;
	border-radius: 8px;
	padding: 24px;
	text-decoration: none;
	display: block;
	transition: border-color 0.2s;
}

.hp-guide-card:hover {
	border-color: #f7a541;
	text-decoration: none;
}

.hp-guide-title {
	font-size: 17px;
	font-weight: 700;
	color: #2d3142;
	margin-bottom: 8px;
	line-height: 1.35;
}

.hp-guide-desc {
	font-size: 15px;
	color: #696b73;
	line-height: 1.55;
	margin-bottom: 16px;
}

.hp-guide-read-more {
	font-size: 14px;
	font-weight: 600;
	color: #f7a541;
}


/* -------------------------------------------------
   Final CTA
   ------------------------------------------------- */
.hp-final-cta-section {
	padding: 70px 0;
	background-color: #2d3142;
}

.hp-final-cta-section .custom_block_title {
	color: #fff;
	margin-bottom: 16px;
}

.hp-final-cta-section .text-block p {
	color: rgba(255, 255, 255, 0.75);
}

.hp-final-cta-section .cta_button a {
	background-color: #f7a541;
	padding: 18px 44px;
	color: #fff;
	border-radius: 5px;
	font-size: 18px;
	font-weight: 600;
	transition: filter 0.2s;
}

.hp-final-cta-section .cta_button a:hover {
	filter: brightness(110%);
}

.hp-final-trust {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin-top: 24px;
	flex-wrap: wrap;
}

.hp-final-trust span {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}


/* -------------------------------------------------
   Responsive
   ------------------------------------------------- */
@media only screen and (max-width: 960px) {
	.featured-in-section .featured-in img {
		width: 50%;
	}

	.featured-in-section .container {
		width: calc(100% - 40px);
		margin: 0 20px;
	}

	.hp-hero-inner {
		grid-template-columns: 100%;
	}

	.hp-hero-image {
		display: none;
	}

	.hp-topics-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hp-guides-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (max-width: 768px) {
	.sub_title {
		font-size: 20px;
	}

	.custom_block_title {
		font-size: 30px;
	}

	.hp-hero-title {
		font-size: 36px;
	}

	.hp-hero-intro p {
		font-size: 18px;
	}

	.hp-stats-row {
		grid-template-columns: 1fr;
	}

	.hp-topics-grid {
		grid-template-columns: 1fr;
	}

	.hp-guides-grid {
		grid-template-columns: 1fr;
	}

	.hp-milestone-block {
		flex-direction: column;
		text-align: center;
	}

	.hp-final-trust {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
}

@media only screen and (max-width: 480px) {
	.hp-hero-title {
		font-size: 30px;
	}

	.hp-hero-ctas {
		flex-direction: column;
		align-items: flex-start;
	}

	.hp-btn-primary,
	.hp-btn-secondary {
		width: 100%;
		text-align: center;
	}
}
