/*
Theme Name: Kolkata Menopause Society
Theme URI: https://example.com/kolkata-menopause-society
Author: the Techno Exponent team
Author URI: https://technoexponent.com
Description: A clean WordPress classic theme boilerplate for Kolkata Menopause Society with starter templates, menus, widget areas, theme supports, and accessible markup.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kolkata-menopause-society
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/*
This file is required by WordPress for theme metadata.
*/

/* Publication detail gallery. */
.publication-detail-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.publication-detail-gallery figure {
	overflow: hidden;
	margin: 0;
	border: 1px solid rgba(236, 72, 153, 0.18);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 14px 34px rgba(84, 32, 111, 0.08);
}

.publication-detail-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Publication detail image slider. */
.publication-detail-slider {
	position: relative;
	width: 100%;
	height: 100%;
}

.publication-detail-slider-track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.publication-detail-slider-track::-webkit-scrollbar {
	display: none;
}

.publication-detail-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
}

.publication-detail-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.publication-detail-slider-btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 999px;
	background: rgba(84, 32, 111, 0.78);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-50%);
	cursor: pointer;
}

.publication-detail-slider-prev {
	left: 1rem;
}

.publication-detail-slider-next {
	right: 1rem;
}

/* Videos page. */
.kms-videos-page {
	background: #fff;
}

.kms-videos-heading-section,
.kms-videos-section {
	padding: 1rem 0;
}

.kms-videos-heading-section {
	padding-top: 2.5rem;
	padding-bottom: 0rem;
}

.kms-videos-heading-content,
.kms-videos-section-heading {
	max-width: 820px;
	margin: 0 auto 2rem;
}

.kms-videos-heading-content {
	position: relative;
	padding-bottom: 1rem;
}

.kms-videos-heading-content::after {
	position: absolute;
	right: 50%;
	bottom: 0;
	width: 88px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #54206f 0%, #d42c7f 100%);
	content: "";
	transform: translateX(50%);
}

.kms-videos-heading-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.85rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(212, 44, 127, 0.18);
	border-radius: 999px;
	background: rgba(212, 44, 127, 0.08);
	color: #b51f68;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: uppercase;
}

.kms-videos-heading-title,
.kms-videos-heading-content h1,
.kms-videos-heading-content h2,
.kms-videos-heading-content h3 {
	margin-bottom: 0.85rem;
	color: #54206f;
	font-weight: 700;
	line-height: 1.16;
}

.kms-videos-heading-title {
	font-size: 2.25rem;
}

.kms-videos-heading-content p {
	max-width: 660px;
	margin-right: auto;
	margin-left: auto;
	color: #475569;
}

.kms-videos-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.kms-videos-grid--1 {
	max-width: none;
	margin-right: auto;
	margin-left: auto;
}

.kms-videos-item {
	overflow: hidden;
	border: 1px solid rgba(84, 32, 111, 0.12);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 16px 42px rgba(84, 32, 111, 0.08);
}

.kms-videos-item.is-hidden {
	display: none;
}

.kms-videos-frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #111827;
}

.kms-videos-frame iframe,
.kms-videos-frame video,
.kms-videos-frame .wp-video,
.kms-videos-frame .wp-video-shortcode {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0;
}

.kms-videos-frame iframe {
	position: absolute;
	inset: 0;
	border: 0;
}

.kms-videos-frame .mejs-container {
	width: 100% !important;
	height: 100% !important;
}

.kms-videos-empty {
	display: grid;
	min-height: 100%;
	margin: 0;
	place-items: center;
	padding: 1rem;
	color: #fff;
	text-align: center;
}

.kms-videos-card-body {
	padding: 1.15rem;
}

.kms-videos-card-body h6 {
	margin: 0 0 0.55rem;
	color: #54206f;
}

.kms-videos-card-body .standard-typography {
	font-size: 0.95rem;
}

.kms-videos-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.kms-videos-load-more {
	cursor: pointer;
}

@media (min-width: 640px) {
	.kms-videos-grid--2,
	.kms-videos-grid--3,
	.kms-videos-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.kms-videos-heading-title {
		font-size: 3.25rem;
	}
}

@media (min-width: 1024px) {
	.kms-videos-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.kms-videos-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
