/*
Theme Name: Kathakunj Theme
Theme URI: https://example.com
Description: Child theme for Twenty Twenty-Five
Author: Your Name
Author URI: https://example.com
Template: twentytwentyfive
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kathakunj-theme
*/

/*
 * Canvas: three-column template (.kk-canvas--three-col)
 * Template: templates/canvas-three-column.html
 *
 * Set tileable backgrounds on the gutters (replace URLs):
 *   .kk-canvas__gutter--left  { background-image: url('...'); }
 *   .kk-canvas__gutter--right { background-image: url('...'); }
 */

:root {
	--kk-color-para-headings: #a53e2a;
	--kk-color-para-headings-rgb: 165,62,42;
	--kk-color-para-headings-2: #6e4f00;
	--kk-color-para-headings-2-rgb: 110, 79, 0;
}

a {
	color: #2F4F4F;
	text-decoration: none;
}
a:hover {
	color: #437C7C;
	text-decoration: underline;
}
a:visited {
	color: #5F7575;
}

/* unset some rules for the big title */
.wp-block-site-title > a {
	color: unset;
	text-decoration: unset;
}

.entry-content strong {
    font-weight: 600;
}

.kk-content-outer {
	font-family: "Karma", serif;
	font-weight: 300;
	font-style: normal;
	margin-block-start: -0.5rem;
}

.group-title {
    font-weight: 500;
    font-style: normal;
    font-size: 3.2rem;
    margin-bottom: 2rem !important;
}

.k-banner-outer .wp-block-cover__inner-container {
    border: 1px solid rgba(212, 184, 150, 0.3);
    outline: 1px solid rgba(212, 184, 150, 0.15);
    outline-offset: 6px;
    padding: 2.5rem 2rem;
}

.k-banner-outer .wp-block-cover {
    box-shadow: inset 0 0 100px rgba(61, 28, 10, 0.5);
}

.story-title {
	font-family: "Gotu", serif;
    font-style: normal;
    font-size: 5rem;
    margin-bottom: 1rem !important;
}

.title-separator {
	width: 45%;
}

.k-banner-outer {
}

.title-separator > img {
	display: none;
}

.title-separator::after {
    content: '';
    display: block;
    width: auto;
    height: 4rem;
    background-image: url('/wp-content/uploads/2026/03/divider2.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.kk-canvas.kk-canvas--three-col {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	min-height: 100vh;
	box-sizing: border-box;
}

.kk-canvas__gutter {
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
	background-repeat: repeat;
	background-position: center top;
	/* Optional default tile (remove if unused): */
	/* background-image: url('../images/gutter-tile.png'); */
}

body {
	background-image: url('/wp-content/uploads/2026/03/border-tile-new-vibrance.jpg');
	background-image: url('/wp-content/uploads/2026/03/border-tile-new-darken.jpg');
	//background-image: url('/wp-content/uploads/2026/03/border-tile-new-lightness.jpg');
	background-repeat: repeat;
	background-size: 800px auto;
}

.kk-canvas__gutter--left, .kk-canvas__gutter--right {
}

/*
.paper-edge {
	filter: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><filter id="wavy2"><feTurbulence x="0" y="0" baseFrequency="0.02" numOctaves="5" seed="1" /><feDisplacementMap in="SourceGraphic" scale="20" /></filter></svg>#wavy2');
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92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+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
}
*/

.kk-canvas__main {
	flex: 0 1 var(--wp--style--global--wide-size);
	width: 100%;
	max-width: min(100%, var(--wp--style--global--wide-size));
	box-sizing: border-box;
	// background from Anshika
	//background-image: url('/wp-content/uploads/2026/03/background-for-text-area.jpg');

	// good
	//background-image: url('/wp-content/uploads/2026/03/parchment-texture-AI-05.jpg');
	//background-image: url('/wp-content/uploads/2026/03/parchment-texture-AI-08.jpg');
	background-repeat: repeat;
	background-size: 800px 800px;

	background: transparent;
	//box-shadow: 2px 3px 20px black, 0 0 125px #8f5922 inset;
}

/* Center column: responsive width and padding */
.kk-canvas__main > .wp-block-group,
.kk-canvas__main > main {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

main {
	position: relative;
	background: transparent;
}

main::before {
	content: ' ';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	box-shadow: 2px 3px 20px black, 0 0 125px #8f5922 inset;
	background-image: url('/wp-content/uploads/2026/03/parchment-texture-AI-08.jpg');
	-webkit-filter: url('#wavy2');
	filter: url('#wavy2');
}

@media (max-width: 781px) {
	.kk-canvas.kk-canvas--three-col {
		flex-direction: column;
		flex-wrap: nowrap;
		min-height: 0;
	}

	.kk-canvas__gutter {
		display: none;
	}

	.kk-canvas__main {
		flex: 1 1 auto;
		max-width: 100%;
	}
}

.karma-light {
	font-family: "Karma", serif;
	font-weight: 300;
	font-style: normal;
}

.karma-regular {
	font-family: "Karma", serif;
	font-weight: 400;
	font-style: normal;
}

.karma-medium {
	font-family: "Karma", serif;
	font-weight: 500;
	font-style: normal;
}

.karma-semibold {
	font-family: "Karma", serif;
	font-weight: 600;
	font-style: normal;
}

.karma-bold {
	font-family: "Karma", serif;
	font-weight: 700;
	font-style: normal;
}

.kk-comments-wrapper {
	position: relative;
    padding-top: var(--wp--preset--spacing--20);
    background-color: darkgray;
    font-family: sans-serif;
    //box-shadow: 2px 3px 20px black;
    filter: sepia(.7);
    top: 2rem;
    border-radius: 10px 10px 0 0;
}

.kk-para-headings {
	font-size: 3rem;
    margin: 3rem 0 2rem;
    font-weight: 400;
    color: var(--kk-color-para-headings);
    border-bottom: 1px solid var(--kk-color-para-headings);
    width: 100%;
}

p.kk-para-headings-2 {
    color: var(--kk-color-para-headings-2);
    font-size: 2rem;
    border-bottom: 1px solid rgba(var(--kk-color-para-headings-2-rgb), .3);
    margin-bottom: 3rem;
    margin-top: 2rem;
    font-weight: 600;
	background-color: rgba(var(--kk-color-para-headings-2-rgb), .1);
	padding-top: 1rem;
	padding-bottom: 0.5rem;
}

.kk-img {
	margin-bottom: 4rem;
	margin-top: 4rem;
}

.color-para-headings {
	color: var(--kk-color-para-headings) !important;
}

.kk-img img {
	/* With a very faint inner glow to blend with parchment */
	//box-shadow: inset 0 0 8px rgba(210, 180, 120, 0.15), 0 4px 16px rgba(101, 60, 20, 0.22);

	/* Stronger, more dramatic lift */
	box-shadow: 0 4px 8px rgba(101, 60, 20, 0.30), 0 12px 32px rgba(80, 40, 10, 0.25);

}

:root :where(.is-layout-flex) {
	gap: 0;
}

.wp-block-site-title {
	text-shadow: 4px 4px 2px #020202;
}

/* Blockquote */
:root :where(.wp-block-quote) {
    border-color: #026e71;
    font-size: inherit;
    color: #026e71;
    font-style: italic;
    font-weight: 600;
    /* font-family: 'Karma'; */
	margin-block-start: 2rem;
    margin-block-end: 2rem;
}

header.nav-outer {
	font-family: "Karma", sans-serif;
}

main.kk-content-outer {
	font-family: "Karma", sans-serif;
}

.kk-nav {
}

.wp-block-navigation {
    background: #3a3520;
    border-top: 2px solid #c9a84c;
    border-bottom: 2px solid #c9a84c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.45),
                inset 0 1px 0 rgba(201,168,76,0.15),
                inset 0 -1px 0 rgba(201,168,76,0.15);
    justify-content: center;
    padding: 0 1rem;
}

.wp-block-navigation .wp-block-navigation__container {
    gap: 0;
}

.wp-block-navigation .wp-block-navigation-item {
    background-color: #3a3520;
}

.wp-block-navigation .wp-block-navigation-item__content {
    color: #e8d9a0;
    font-size: 1.3rem;
    padding: 0.75rem 1.25rem;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s, background 0.2s;
	white-space: nowrap;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: #e8d9a0;
}

.wp-block-navigation .wp-block-navigation-item + .wp-block-navigation-item
.wp-block-navigation-item__content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: red;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
    color: #f5e6b0;
    background: black;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    padding-top: 0;
    margin-top: 0;
    top: 100%;
}

.wp-block-navigation .has-child::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: #e8d9a0;
    background: #3a3520;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    color: #f5e6b0;
    background: black;
}

nav.wp-block-navigation {
	width: 100%;
	padding: 0;
	/* mix-blend-mode removed: creates stacking context that clips submenus */
}

nav.wp-block-navigation::before,
nav.wp-block-navigation::after {
	content: ' ';
    color: #c9a84c;
    padding: 0;
    opacity: 1;
    align-self: center;
    background-image: url(/wp-content/uploads/2026/03/menu-flower-01c1.png);
    width: 74px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.author {
	color: #8f5922;
    font-weight: 800;
    font-style: italic;
    font-size: 1.3rem;
}

/* ── Page navigation (prev / toc / next) ── */
.kk-page-nav {
    font-family: "Karma", serif;
	font-weight: 600;
	flex-wrap: wrap;
}

.kk-page-nav::before {
    content: '';
    /* display: block; */
    /* width: 50%; */
    height: 1rem;
    background-image: url('/wp-content/uploads/2026/03/divider2.png');
    background-size: 50%;
    background-repeat: no-repeat;
    margin: 2rem auto 4rem;
    flex-basis: 100%;
    background-position: center;
}

.kk-page-nav a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.kk-page-nav a:hover {
    color: var(--kk-color-para-headings);
	text-decoration: underline;
}

/* ── Footer ── */
.footer-outer {
    //box-shadow: 2px 3px 20px black;
    margin-block-start: -3.7rem;
    background: #3a3520;
    color: #e8d9a0;
}

.kk-footer {
    padding: 2rem 1rem;
    margin-top: 0 !important;
    border-top: 1px solid #c9a84c;
}

.kk-footer .wp-block-site-title {
    font-family: "Gotu", sans-serif;
    font-size: 1.4rem;
    text-shadow: none;
}

.kk-footer .wp-block-site-title a {
    text-decoration: none;
}

.kk-footer .wp-block-site-title a:hover {
    text-decoration: underline;
}

/* ── TOC ── */
.toc-columns {
	width: 100%;
}

.toc-columns table td {
    border: none;
    padding: 0;
    border-bottom: 1px solid;
	padding-top: 5px;
}
.toc-columns table td,
.toc-columns table td a {
	color: #2F4F4F;
	text-decoration: none;
}
.toc-columns table td a:hover {
	color: #437C7C;
	text-decoration: underline;
}
.toc-columns table td a:visited {
	color: #5F7575;
}
.toc-img-col {
    align-content: center;
    text-align: center;
}
