/*
Theme Name: Voice123 Theme V2
Author: Voice123 Team
Description: Voice123 WordPress Block Theme (Full Site Editing). Requires the Kadence Blocks plugin (template parts use kadence/rowlayout and kadence/column blocks).
Version: 0.1.0
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 7.4
Requires Plugins: kadence-blocks
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: voice123-theme-v2
*/

/* =========================================================
   Base Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { text-decoration-skip-ink: auto; }
img { max-width: 100%; height: auto; display: block; }

mark { background: none;}
.btn {
	text-transform: uppercase;
} 


body {
	font-size: var(--wp--preset--font-size--medium) !important;
	line-height: var(--wp--custom--line-height--body);
}
/* =========================================================
   Site Header
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
}

/* =========================================================
   Post Hero
   ========================================================= */
.v123-post-hero {
	text-align: center;
}

/* Title: 54px bold, centered */
.v123-post-hero .wp-block-post-title {
	font-size: 54px;
	font-weight: 700;
	line-height: 1.15;
	color: rgba(0, 0, 0, 0.87);
	text-align: center;
	margin: 0 0 32px;
}

@media (max-width: 768px) {
	.v123-post-hero .wp-block-post-title {
		font-size: clamp(2rem, 8vw, 54px);
	}
}

/* Featured image: full width, rounded 21px */
.v123-post-hero .wp-block-post-featured-image {
	margin: 0 0 40px;
}

.v123-post-hero .wp-block-post-featured-image img {
	width: 100%;
	max-width: 720px;
	max-height: 405px;
	border-radius: 21px;
	object-fit: cover;
	display: block;
	margin:  0 auto;
}

/* Excerpt: 20px semibold, centered */
.v123-post-hero .wp-block-post-excerpt {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.87);
	text-align: center;
	margin: 0 0 32px;
}

.v123-post-hero .wp-block-post-excerpt p {
	margin: 0;
}

/* CTA button: Voice123 orange */
.v123-hero-cta .wp-block-button__link {
	background-color: #FF6600 !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.1px !important;
	border-radius: 4px !important;
	padding: 10px 24px !important;
	text-transform: uppercase;
	border: none;
}

/* =========================================================
   Pillar page menu (WP menu links + search pill)
   ========================================================= */
.v123-pillar-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px 40px;
}

.v123-pillar-menu__list {
	list-style: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 40px;
	margin: 0;
	padding: 0;
}

.v123-pillar-menu__list li {
	margin: 0;
}

.v123-pillar-menu__list a {
	font-size: 11px;
	font-weight: 700;
	color: #003f75 !important;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.v123-pillar-menu__list a:hover {
	text-decoration: underline;
}

.v123-pillar-menu__search {
	position: relative;
	display: flex;
	align-items: center;
	width: 125px;
	height: 29px;
	border: 1px solid #354860;
	border-radius: 15px;
	background: #fff;
}

.v123-pillar-menu__search-field {
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
	border-radius: 15px;
	padding: 0 32px 0 14px;
	font-family: inherit;
	font-size: 11px;
	color: #354860;
}

.v123-pillar-menu__search-field:focus {
	outline: none;
}

.v123-pillar-menu__search:focus-within {
	outline: 2px solid #299bff;
	outline-offset: 1px;
}

.v123-pillar-menu__search-field::-webkit-search-decoration,
.v123-pillar-menu__search-field::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.v123-pillar-menu__search-submit {
	position: absolute;
	right: 3px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.v123-pillar-menu__search-circle {
	position: absolute;
	inset: 0;
	margin: auto;
}

.v123-pillar-menu__search-glass {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -60%);
	width: auto;
}

/* =========================================================
   Newsletter Banner
   ========================================================= */
.v123-newsletter-banner {
	background: linear-gradient(92.34deg, #e5f2fe 0.33%, #eef6fd 45.45%);
}

.v123-newsletter-banner .wp-block-heading {
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 700;
	color: #354860;
	margin: 0;
	white-space: nowrap;
}

.v123-newsletter-banner .wp-block-buttons {
	justify-content: flex-end;
}

.v123-newsletter-banner .wp-block-button__link {
	border: 2px solid #003f75 !important;
	color: #003f75 !important;
	background: transparent !important;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.1px;
	text-transform: uppercase;
	border-radius: 4px;
	padding: 10px 24px;
}

/* =========================================================
   All About Section (Author Strip)
   ========================================================= */
.v123-all-about {
	background-color: #ffffff;
}

.v123-all-about .wp-block-separator {
	background-color: #e0e0e0;
	border-color: #e0e0e0;
}

.v123-all-about__author-logo {
	height: 28px;
	width: auto;
	display: block;
}

.v123-all-about .wp-block-post-author-name {
	font-size: 15px;
	font-weight: 800;
	color: #003f75;
	margin: 0;
}

.v123-all-about .wp-block-post-date {
	font-size: 13px;
	color: #003f75;
}

@media (max-width: 768px) {
	.v123-all-about .wp-block-columns {
		flex-direction: column;
	}
}

/* =========================================================
   TOC + Listen CTA Row
   ========================================================= */
.v123-toc-listen-row {
	align-items: flex-start;
	gap: 40px;
}


.v123-toc__title {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	color: rgba(0, 0, 0, 0.87);
	margin: 0 0 24px;
}

/* Items container filled by toc.js */
.v123-toc__items {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	color: rgba(0, 0, 0, 0.87);
	line-height: 1.4;
}

.v123-toc__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.v123-toc__item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #eef6fd !important;
	border-radius: 12px;
	padding: 16px 20px;
	color: rgba(0, 0, 0, 0.87) !important;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.v123-toc__item a::after {
	content: '›';
	font-size: 22px;
	line-height: 1;
	flex-shrink: 0;
	margin-left: 12px;
	color:#299BFF80;
	transition: color 0.2s, transform 0.2s;
}

.v123-toc__item a:hover::after,
.v123-toc__item.is-active a::after {
	color: #299bff;
	transform: translateX(2px);
}

.v123-toc__item a:hover,
.v123-toc__item.is-active a {
	background: #eef6fd;
	border-color: #299bff;
	color: #003f75;
}

/* h3 items are indented to show hierarchy */
.v123-toc__item--h3 a {
	padding-left: 36px;
	font-size: var(--wp--preset--font-size--medium);
	border-style: dashed;
}

/* =========================================================
   Post Content Area
   ========================================================= */
.wp-block-post-content {
	max-width: 1024px;
	margin: 0 auto;
	/* padding: 0 80px; */
}

/* =========================================================
   Related Posts
   ========================================================= */
.v123-related-posts .wp-block-post {
	display: flex;
	flex-direction: column;
}

.v123-related-posts .wp-block-post-featured-image img {
	/* aspect-ratio: 16/10; */
}

.v123-related-posts .wp-block-post-terms {
	max-width: fit-content;
}


/* =========================================================
   Site Footer
   ========================================================= */
.v123-site-footer {
	background-color: #f5f5f5;
	border-radius: 17px;
}

.v123-site-footer .wp-block-image img {
	height: 44px;
	width: auto;
}

.v123-site-footer__col-title {
	font-size: 11px;
	font-weight: 700;
	color: #828282;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.v123-site-footer a {
	font-size: 11px;
	font-weight: 300;
	color: #828282;
	text-decoration: underline;
	display: block;
	margin-bottom: 4px;
}

/* =========================================================
   Block Group
   ========================================================= */
.wp-block-group.has-background {
	padding: 1.25em;
}

/* =========================================================
   Block Image
   ========================================================= */
/* .wp-block-image.aligncenter {
	align-self: center;
	width: fit-content;
}

.wp-block-image.alignleft {
	align-self: flex-start;
	width: fit-content;
	margin-right: auto;
}

.wp-block-image.alignright {
	align-self: flex-end;
	width: fit-content;
	margin-left: auto;
} */

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
	/* Columns stack vertically on mobile */
	.v123-toc-listen-row {
		flex-direction: column;
	}

	.v123-newsletter-banner .wp-block-heading {
		white-space: normal;
	}

	.v123-footer-cta {
		padding: 40px 32px !important;
	}
}

/* fixes conflicts with v1-material */
.md-theme a:not(.md-button) {
	color: unset;
}
ul:not(.md-list)>li+li {
    margin-top: unset;
}



@media only screen and (max-width: 992px) {
    .hide-on-med-and-down {
        display: none !important;
    }
}

@media only screen and (min-width: 993px) {
    .hide-on-large-only {
        display: none !important;
    }
}


.taxonomy-category {
	max-width: fit-content;
}

/* =========================================================
   POSTS carousel
   ========================================================= */

.section-content--as-carousel {
	.section-container {
		min-width: 100%;
	}
	.wp-block-post {
		min-width: 33.3333%;
		padding: 8px 16px;
			@media (max-width: 768px) {
				min-width: 100%;
			}
		}
	}
