/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.opening-table .heading-block span {
	font-size: 16px;
	font-weight: 400;
}

.opening-table {
	padding: 30px;
	background-color: #FFF;
	border-radius: 4px;
	border: 1px solid #EEE;
}

.time-table-wrap .time-table {
	padding: 14px 0;
	text-align: left;
	border-top: 1px solid #E5E5E5;
}

.time-table-wrap .time-table:first-child { border-top: none; }

.time-table-wrap .time-table .col-md-5 { padding-left: 0; }

.time-table-wrap .time-table h5 {
	margin-bottom: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.time-table-wrap .time-table span { font-weight: 500; }

@media (min-width: 992px) {
  .sub-menu-container .menu-item > .menu-link {
	color: white !important;
  }
}

@media (max-width: 991px) {
  .sub-menu-container .menu-item > .menu-link {
	color: black !important;
  }
}

#content ol, #content ul {
  padding-left: 2rem;
}

.header-misc {
	margin-left:0;
}


.icon::before {
  content: '';
  display: inline-block;
  margin-top:10px;
  width: 1.5em;
  height: 1.5em;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}


.icon-1::before { mask-image: url('/icons/svg/Discipline.svg');            -webkit-mask-image: url('/icons/svg/Discipline.svg'); }
.icon-2::before { mask-image: url('/icons/svg/Physical-Fitness.svg');      -webkit-mask-image: url('/icons/svg/Physical-Fitness.svg'); }
.icon-3::before { mask-image: url('/icons/svg/Self-Defence.svg');          -webkit-mask-image: url('/icons/svg/Self-Defence.svg'); }
.icon-4::before { mask-image: url('/icons/svg/Mental-Resilience.svg');     -webkit-mask-image: url('/icons/svg/Mental-Resilience.svg'); }
.icon-5::before { mask-image: url('/icons/svg/Character-and-Respect.svg'); -webkit-mask-image: url('/icons/svg/Character-and-Respect.svg'); }
.icon-6::before { mask-image: url('/icons/svg/Dojo.svg'); -webkit-mask-image: url('/icons/svg/Dojo.svg'); }


/* ----------------------------------------------------------------
	 Goju Ryu Quote Card - Homepage
----------------------------------------------------------------- */

.mkk-quote-card {
		border-left: 4px solid #ed1c24;
		padding: 1.5rem 1.75rem;
		background-color: rgba(255,255,255,0.04);
		border-radius: 0 6px 6px 0;
}

.mkk-quote-text {
		font-family: 'DM Serif Text', serif;
		font-size: 1.15rem;
		font-style: italic;
		line-height: 1.7;
		color: #231f20;
		margin-bottom: 0.85rem;
		position: relative;
}

.mkk-quote-text::before {
		content: '\201C';
		color: #ed1c24;
		font-size: 1.8rem;
		line-height: 0;
		vertical-align: -0.45rem;
		margin-right: 3px;
}

.mkk-quote-text::after {
		content: '\201D';
		color: #ed1c24;
		font-size: 1.8rem;
		line-height: 0;
		vertical-align: -0.45rem;
		margin-left: 3px;
}

.mkk-attribution {
		font-family: 'Manrope', sans-serif;
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #6c757d;
}

.mkk-attribution span {
		color: #ed1c24;
}

.mkk-dojo-note {
		font-family: 'Manrope', sans-serif;
		font-size: 0.82rem;
		font-style: italic;
		color: #6c757d;
		margin-top: 0.5rem;
		margin-bottom: 0;
}


/* Our Team Detail */

/* Profile photo frame — desktop only, stripped at mobile */
.col-lg-5.mt-2.mt-lg-0 img {
	border: 3px solid rgba(139, 0, 0, 0.6);
	outline: 1px solid rgba(196, 163, 90, 0.7);
	outline-offset: 5px;
	filter: contrast(1.04) saturate(1.06);
	transition: border-color 0.3s ease, outline-color 0.3s ease, filter 0.3s ease;
	border-radius: 2px;
	display: block;
}

/* Hover lift on desktop only */
@media (min-width: 992px) {
	.col-lg-5.mt-2.mt-lg-0 img:hover {
		border-color: rgba(139, 0, 0, 0.9);
		outline-color: rgba(196, 163, 90, 1.0);
		filter: contrast(1.06) saturate(1.1);
	}
}

/* Strip everything below tablet — no frame at mobile */
@media (max-width: 767px) {
	.col-lg-5.mt-2.mt-lg-0 img {
		border: none;
		outline: none;
		filter: none;
	}
}

/* Team listing — frame fades in on hover only (desktop) */
@media (min-width: 992px) {
	img.mb-5 {
		border: 3px solid rgba(139, 0, 0, 0);
		outline: 1px solid rgba(196, 163, 90, 0);
		outline-offset: 5px;
		filter: contrast(1.0) saturate(1.0);
		transition: border-color 0.3s ease, outline-color 0.3s ease, filter 0.3s ease;
		border-radius: 2px;
		display: block;
	}

	.col-lg-4:hover img.mb-5 {
		border-color: rgba(139, 0, 0, 0.6);
		outline-color: rgba(196, 163, 90, 0.7);
		filter: contrast(1.04) saturate(1.06);
	}
}

/* Team Ranks  */

.rank-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: -0.25rem;
	margin-bottom: 1.75rem;
}

.rank-badge .belt-pips {
	display: flex;
	gap: 5px;
	align-items: center;
}

.rank-badge .belt-pips span {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(139, 0, 0, 0.8);
}

.rank-badge .rank-text {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #8B0000;
	border: 1px solid rgba(139, 0, 0, 0.3);
	border-radius: 3px;
	padding: 3px 10px;
	background: rgba(139, 0, 0, 0.05);
}

a {
	color:#ef3138;
}


/* ═══════════════════════════════════════════
	 ABOUT US — EXPANDED COPY SECTION
═══════════════════════════════════════════ */
.about-section {
	max-width: 860px;
	margin: 0 auto;
	padding: 4rem 2rem;
}

.section-label {
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 0.75rem;
}

.about-section h2 {
	font-family: var(--serif);
	font-size: clamp(2rem, 4vw, 3rem);
	color: var(--dark);
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.about-divider {
	width: 48px;
	height: 3px;
	background: var(--red);
	margin-bottom: 2rem;
}

.about-section p {
	font-family: var(--sans);
	font-size: 1.0625rem;
	color: var(--mid);
	margin-bottom: 1.4rem;
	max-width: 720px;
}

.about-section p:last-of-type {
	margin-bottom: 0;
}

.about-section h3 {
	font-family: var(--serif);
	font-size: 1.5rem;
	color: var(--dark);
	margin: 2.5rem 0 0.75rem;
}

.about-highlight {
	border-left: 3px solid var(--red);
	padding-left: 1.25rem;
	margin: 2rem 0;
}

.about-highlight p {
	font-style: italic;
	font-size: 1.125rem;
	color: var(--charcoal);
}

/* ═══════════════════════════════════════════
	 TRIPTYCH — THREE IMAGES WITH CAPTIONS
═══════════════════════════════════════════ */
.triptych-section {
	background: var(--dark);
	padding: 5rem 2rem;
}

.triptych-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.triptych-header {
	text-align: center;
	margin-bottom: 3rem;
}

.triptych-header .section-label {
	color: rgba(237,28,36,0.9);
}

.triptych-header h2 {
	font-family: var(--cnvs-primary-font);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: var(--white);
	line-height: 1.25;
}

/* Three-column grid */
.triptych-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 720px) {
	.triptych-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* Each panel */
.triptych-panel {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
}

.triptych-panel:hover .triptych-img {
	transform: scale(1.04);
}

.triptych-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4; /* portrait orientation */
	overflow: hidden;
	background: #222;
}

.triptych-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease;
}

/* Gradient overlay for caption legibility */
.triptych-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 40%,
		rgba(0,0,0,0.72) 100%
	);
	pointer-events: none;
}

/* Number badge */
.triptych-num {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	font-family: var(--serif);
	font-size: 1.125rem;
	color: rgba(255,255,255,0.55);
	line-height: 1;
	pointer-events: none;
}

/* Caption — sits below image, dark band */
.triptych-caption {
	background: #0e0e0e;
	padding: 1.25rem 1.25rem 1.5rem;
	border-top: 2px solid var(--red);
}

.triptych-caption-title {
	font-family: var(--serif);
	font-size: 1.1rem;
	color: white;
	margin-bottom: 0.4rem;
	line-height: 1.3;
}

.triptych-caption-text {
	font-family: var(--sans);
	font-size: 0.85rem;
	font-weight: 400;
	color: rgba(255,255,255,0.58);
	line-height: 1.6;
	margin: 0;
}

/* Placeholder image (remove when real images are placed) */
.img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #1e1e1e;
	color: rgba(255,255,255,0.25);
	font-family: var(--sans);
	font-size: 0.8rem;
	text-align: center;
	gap: 0.5rem;
	padding: 1rem;
}

.img-placeholder svg {
	opacity: 0.3;
}

/* ─── DEMO WRAPPER — remove in production ─── */
.demo-note {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 1rem 1.25rem;
	font-family: var(--sans);
	font-size: 0.85rem;
	color: #333;
	max-width: 860px;
	margin: 2rem auto 0;
}
.demo-note strong { display: block; margin-bottom: 0.25rem; }
