/* Katrini Secondary School – red and white. Archivo headings, Nunito Sans text. Keeps the framed photos, key-tag values, open book and polaroids. */
:root {
	--ktr-ink: #1D1D24;
	--ktr-text: #3A3A42;
	--ktr-red: #C8102E;
	--ktr-red-d: #9E0C24;
	--ktr-deep: #7A0C1C;
	--ktr-blush: #FDEFF0;
	--ktr-blush-2: #FBE1E4;
	--ktr-line: #F0E1E3;
	--ktr-string: #C9B3B6;
}
body.ktr-site { background: #fff; color: var(--ktr-text); font-family: 'Nunito Sans', sans-serif; }
.ktr-site ::selection { background: var(--ktr-red); color: #fff; }

/* ---------- header: red strip, badge + name left, menu + Call right ---------- */
.ktr-site #masthead { position: sticky; top: 0; z-index: 999; }
.admin-bar.ktr-site #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.ktr-site #masthead { top: 0; } }
.ktr-site .ast-above-header-wrap { max-height: 60px; overflow: hidden; transition: max-height .35s ease; }
.ktr-site .ast-above-header-bar { background: var(--ktr-red); border: 0; min-height: 38px; }
.ktr-site .ast-above-header-bar .ast-header-html p { margin: 0; color: #FFE3E7; font-size: 13.5px; }
.ktr-site .ast-above-header-bar .ast-header-html a { color: #fff; font-weight: 600; }
.ktr-site .ast-above-header-bar .ast-header-html a:hover { text-decoration: underline; }
.ktr-site .ast-primary-header-bar { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ktr-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .3s; }
.ktr-site .ast-primary-header-bar .site-primary-header-wrap { min-height: 88px; transition: min-height .3s; }
.ktr-site .site-title, .ktr-site .site-title a { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.3px; color: var(--ktr-ink) !important; line-height: 1.1; }
.ktr-site .site-title a::after { content: "Determination is the key to success"; display: block; font: 600 12.5px/1.4 'Nunito Sans', sans-serif; color: var(--ktr-red); letter-spacing: .2px; margin-top: 3px; }
.ktr-site .custom-logo-link img { transition: width .3s, max-width .3s; }
.ktr-site .main-header-menu > .menu-item > .menu-link {
	font-family: 'Nunito Sans', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--ktr-ink);
	background: linear-gradient(var(--ktr-red), var(--ktr-red)) no-repeat center calc(50% + 15px) / 0 3px; transition: background-size .3s, color .2s;
}
.ktr-site .main-header-menu > .menu-item > .menu-link:hover,
.ktr-site .main-header-menu > .current-menu-item > .menu-link { color: var(--ktr-red); background-size: 22px 3px; }
.ktr-site .ast-builder-button-wrap .ast-custom-button { background: var(--ktr-red); color: #fff; border: 0; border-radius: 6px; font: 700 15px 'Nunito Sans', sans-serif; padding: 12px 20px; text-transform: none !important; letter-spacing: 0 !important; transition: background .2s; }
.ktr-site .ast-builder-button-wrap .ast-custom-button:hover { background: var(--ktr-red-d); }
body.ktr-scrolled .ast-above-header-wrap { max-height: 0; }
body.ktr-scrolled .ast-primary-header-bar { box-shadow: 0 8px 26px rgba(30, 10, 14, .08); }
body.ktr-scrolled .ast-primary-header-bar .site-primary-header-wrap { min-height: 70px; }
@media (min-width: 922px) { body.ktr-scrolled .custom-logo-link img { width: 52px !important; max-width: 52px !important; } }
/* phones */
.ktr-site .ast-mobile-header-wrap .ast-primary-header-bar .site-primary-header-wrap { min-height: 70px; }
.ktr-site .ast-mobile-header-wrap .site-header-primary-section-right { justify-content: flex-end; margin-left: auto; }
.ktr-site .ast-mobile-header-wrap .site-title, .ktr-site .ast-mobile-header-wrap .site-title a { font-size: 17px; }
.ktr-site .ast-mobile-header-wrap .site-title a::after { font-size: 11px; }
.ktr-site .ast-mobile-header-content, .ktr-site .ast-mobile-header-wrap .ast-mobile-header-content { background: #fff; }
.ktr-site .ast-header-break-point .main-header-menu .menu-link { color: var(--ktr-ink); font-weight: 700; border-color: var(--ktr-line) !important; }
.ktr-site .ast-button-wrap .menu-toggle, .ktr-site .ast-mobile-menu-trigger-minimal { color: var(--ktr-red) !important; }
.ktr-site .ast-button-wrap .menu-toggle.main-header-menu-toggle { background: var(--ktr-red); color: #fff !important; border-radius: 6px; }

/* ---------- photo page heads: the image runs up behind the header ---------- */
.ktr-overlay-head #content { margin-top: -143px; }
@media (max-width: 921px) { .ktr-overlay-head #content { margin-top: -80px; } }
.ktr-overlay-head:not(.ktr-scrolled) .ast-above-header-bar { background: rgba(0, 0, 0, .18); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ktr-overlay-head:not(.ktr-scrolled) .ast-primary-header-bar { background: transparent; border-bottom-color: rgba(255, 255, 255, .18); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ktr-overlay-head:not(.ktr-scrolled) .site-title a { color: #fff !important; }
.ktr-overlay-head:not(.ktr-scrolled) .site-title a::after { color: #FFC9D0; }
.ktr-overlay-head:not(.ktr-scrolled) .main-header-menu > .menu-item > .menu-link { color: #fff; background-image: linear-gradient(#fff, #fff); }
.ktr-overlay-head:not(.ktr-scrolled) .main-header-menu > .current-menu-item > .menu-link,
.ktr-overlay-head:not(.ktr-scrolled) .main-header-menu > .menu-item > .menu-link:hover { color: #fff; }
.ktr-overlay-head:not(.ktr-scrolled) .custom-logo-link img { background: #fff; border-radius: 50%; padding: 6px 4px; }
.ktr-overlay-head .ast-mobile-header-content .menu-link { color: var(--ktr-ink) !important; }
.ktr-pagehead .ktr-crumb a { color: #fff; }
.ktr-pagehead .ktr-h1 .elementor-heading-title { letter-spacing: -1.5px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.ktr-pagehead .ktr-h1, .ktr-pagehead .ktr-crumb { animation: ktr-rise .9s .1s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- section backgrounds: white easing into light red ---------- */
.ktr-fade { background-image: linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 45%, var(--ktr-blush-2) 100%) !important; }

/* ---------- type details ---------- */
.ktr-site h1, .ktr-site h2, .ktr-site h3 { font-family: 'Archivo', sans-serif; }
.ktr-eyebrow .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
.ktr-eyebrow .elementor-heading-title::before { content: ""; width: 22px; height: 3px; background: currentColor; flex: none; }
.ktr-eyebrow--c .elementor-heading-title::before { display: none; }
.ktr-motto .elementor-heading-title { text-wrap: balance; letter-spacing: -1.5px; }
.ktr-keyword { color: var(--ktr-red); }
.ktr-statement .elementor-heading-title, .ktr-h1 .elementor-heading-title { text-wrap: balance; }
.ktr-crumb a { color: var(--ktr-red); text-decoration: none; font-weight: 700; }
.ktr-dropcap p:first-of-type::first-letter { float: left; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 4.2em; line-height: .85; padding: .06em .12em 0 0; color: var(--ktr-red); }
.ktr-break .elementor-heading-title { overflow-wrap: anywhere; }
.ktr-break a { color: inherit; }
.ktr-break .elementor-heading-title a[href^="mailto"] { font-size: 17px !important; overflow-wrap: normal; word-break: normal; }

/* ---------- framed photos (class names kept from the first version): rounded photo on a light-red block set down-right ---------- */
.ktr-arch { position: relative; isolation: isolate; }
.ktr-arch img, .ktr-arch--monogram .elementor-heading-title { border-radius: 16px !important; }
.ktr-arch::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--ktr-blush-2); border-radius: 16px; z-index: -1; pointer-events: none; transition: inset .45s cubic-bezier(.2, .7, .2, 1); }
.ktr-arch::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 64px; height: 64px; border-right: 4px solid var(--ktr-red); border-bottom: 4px solid var(--ktr-red); border-radius: 0 0 16px 0; z-index: -1; pointer-events: none; transition: right .45s, bottom .45s; }
.ktr-arch:hover::before { inset: 24px -24px -24px 24px; }
.ktr-arch:hover::after { right: -24px; bottom: -24px; }
.ktr-arch--portrait img { object-position: center 20%; }
.ktr-arch--monogram .elementor-heading-title { height: 400px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--ktr-red), var(--ktr-deep)); letter-spacing: 2px; }
@media (max-width: 767px) {
	.ktr-arch--monogram .elementor-heading-title { height: 360px; }
	.ktr-arch::before { inset: 12px -12px -12px 12px; }
	.ktr-arch::after { right: -12px; bottom: -12px; width: 48px; height: 48px; }
}
.ktr-doorway { width: 100%; position: relative; }
.ktr-doorway .ktr-arch { width: 100%; }
.ktr-keystone { position: absolute !important; left: -34px; bottom: -34px; z-index: 3; margin: 0 !important; width: auto !important; }
.ktr-keystone img { width: 136px !important; height: 136px !important; max-width: none !important; object-fit: contain; padding: 20px 14px; background: #fff; border: 3px solid var(--ktr-red); border-radius: 50%; box-shadow: 0 14px 34px rgba(120, 12, 28, .2); }
@media (max-width: 1024px) { .ktr-keystone { left: 16px; bottom: -30px; } }
@media (max-width: 767px) { .ktr-keystone img { width: 100px !important; height: 100px !important; padding: 14px 10px; } }
/* ---------- welcome ledger ---------- */
.ktr-ledger { border-top: 3px solid var(--ktr-red); padding-top: 18px !important; }

/* ---------- key ring (values) ---------- */
.ktr-keyring { position: relative; }
.ktr-keyring::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--ktr-string) 6%, var(--ktr-string) 94%, transparent); }
.ktr-keyring::after { content: ""; position: absolute; top: 2px; left: 50%; width: 42px; height: 42px; margin-left: -21px; border: 4px solid var(--ktr-red); border-radius: 50%; box-shadow: 0 0 0 6px #FFF8F8; }
.ktr-tag { position: relative; border: 1px solid var(--ktr-line); border-top: 4px solid var(--ktr-red); border-radius: 14px 14px 24px 24px; box-shadow: 0 16px 36px rgba(90, 20, 30, .08); transform-origin: 50% -48px; transition: box-shadow .3s; }
.ktr-tag::before { content: ""; position: absolute; top: 18px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; border: 3px solid var(--ktr-red); background: #fff; }
.ktr-tag::after { content: ""; position: absolute; top: -52px; left: 50%; width: 2px; height: 72px; margin-left: -1px; background: var(--ktr-string); z-index: -1; }
.ktr-tag:hover { animation: ktr-swing 1.3s ease; box-shadow: 0 22px 46px rgba(90, 20, 30, .14); }
@keyframes ktr-swing { 0% { rotate: 0deg; } 20% { rotate: 5deg; } 45% { rotate: -3.5deg; } 70% { rotate: 1.6deg; } 100% { rotate: 0deg; } }
@media (max-width: 1024px) {
	.ktr-keyring::before, .ktr-keyring::after { display: none; }
	.ktr-tag::after { top: -26px; height: 46px; }
	.ktr-tag { transform-origin: 50% -22px; }
}

/* ---------- open book (mission & vision) ---------- */
.ktr-book { max-width: 1000px; margin: 26px auto 0; padding: 12px !important; background: linear-gradient(135deg, var(--ktr-red), var(--ktr-deep)) !important; border-radius: 18px; box-shadow: 0 28px 64px rgba(122, 12, 28, .25); perspective: 1800px; }
.ktr-book__page { background-color: #FFFDFD !important; background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(200, 16, 46, .07) 33px 34px) !important; position: relative; }
.ktr-book__page--left { border-radius: 10px 3px 3px 10px; box-shadow: inset -26px 0 30px -18px rgba(60, 10, 20, .22); transform-origin: right center; }
.ktr-book__page--right { border-radius: 3px 10px 10px 3px; box-shadow: inset 26px 0 30px -18px rgba(60, 10, 20, .22); transform-origin: left center; }
.ktr-book__text p { line-height: 1.6; color: var(--ktr-ink); }
.ktr-js .ktr-book .ktr-book__page--left { transform: rotateY(28deg); opacity: .4; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), opacity 1s; }
.ktr-js .ktr-book .ktr-book__page--right { transform: rotateY(-28deg); opacity: .4; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), opacity 1s; }
.ktr-js .ktr-book.ktr-in .ktr-book__page { transform: none; opacity: 1; }
@media (max-width: 767px) {
	.ktr-book { grid-template-columns: 1fr !important; }
	.ktr-book__page--left { border-radius: 10px 10px 3px 3px; box-shadow: inset 0 -26px 30px -18px rgba(60, 10, 20, .22); }
	.ktr-book__page--right { border-radius: 3px 3px 10px 10px; box-shadow: inset 0 26px 30px -18px rgba(60, 10, 20, .22); }
}

/* ---------- balanced education strip ---------- */
.ktr-ribbon p { font-family: 'Archivo', sans-serif; font-weight: 700; line-height: 1.6; max-width: 1050px; margin: 0 auto; text-wrap: balance; }
.ktr-ribbon__key { display: inline-block; width: 9px; height: 9px; margin: 0 .55em; vertical-align: middle; border-radius: 50%; background: var(--ktr-red); }
@media (max-width: 767px) { .ktr-ribbon p { font-size: 21px !important; } }

/* ---------- polaroids ---------- */
.ktr-polaroid { border-radius: 4px; box-shadow: 0 20px 44px rgba(60, 20, 25, .16); transition: rotate .4s, scale .4s, box-shadow .4s; position: relative; }
.ktr-polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: rgba(253, 225, 229, .85); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); rotate: -2deg; z-index: 2; }
.ktr-polaroid__img img { border-radius: 2px; }
.ktr-tilt-l { rotate: -3deg; } .ktr-tilt-r { rotate: 2.4deg; margin-top: 34px; } .ktr-tilt-l2 { rotate: -1.4deg; margin-top: 8px; }
.ktr-polaroid:hover { rotate: 0deg; scale: 1.03; box-shadow: 0 28px 60px rgba(60, 20, 25, .22); z-index: 3; }
.ktr-story .ktr-polaroid__img img { height: 420px !important; }
.ktr-story .ktr-tilt-r { margin-top: 0; }
@media (max-width: 767px) {
	.ktr-polaroids { gap: 34px !important; }
	.ktr-tilt-r { margin-top: 0; }
	.ktr-story .ktr-polaroid__img img { height: 270px !important; }
}

/* ---------- leaders ---------- */
.ktr-leader { align-items: center; }
.ktr-leader .ktr-arch { width: 100%; max-width: 340px; margin: 0 auto 30px !important; }

/* ---------- cards, form, map ---------- */
.ktr-card { border: 1px solid var(--ktr-line); border-radius: 14px; box-shadow: 0 14px 34px rgba(90, 20, 30, .06); }
.ktr-tagcard { border-left: 4px solid var(--ktr-red); }
.ktr-map iframe { border-radius: 14px; }
.ktr-form { --srfm-color-scheme-primary: #C8102E; --srfm-btn-color-hover: #9E0C24; }
.ktr-motto-card { border: 1px solid var(--ktr-line); border-top: 4px solid var(--ktr-red); border-radius: 14px; box-shadow: 0 18px 44px rgba(90, 20, 30, .07); }
@media (min-width: 1025px) { .ktr-sticky { position: sticky; top: 120px; } }

/* ---------- visit tag ---------- */
.ktr-visit { position: relative; border: 1px solid var(--ktr-line); border-radius: 24px; box-shadow: 0 24px 56px rgba(90, 20, 30, .10); }
.ktr-visit::before { content: ""; position: absolute; left: 40px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 4px solid var(--ktr-red); background: #fff; }
.ktr-visit::after { content: ""; position: absolute; left: -46px; top: 50%; width: 90px; height: 3px; margin-top: -1px; background: var(--ktr-string); z-index: -1; }
@media (max-width: 767px) {
	.ktr-visit::before { left: 50%; top: 28px; margin: 0 0 0 -15px; }
	.ktr-visit::after { display: none; }
}

/* ---------- buttons ---------- */
.ktr-btn .elementor-button, .ktr-form .srfm-submit-button, .ktr-form button[type="submit"] { text-transform: none !important; letter-spacing: .1px !important; }
.ktr-form .srfm-submit-button, .ktr-form button[type="submit"] { border-radius: 6px !important; padding: 14px 28px !important; font-weight: 700 !important; }
.ktr-btn .elementor-button { border-radius: 6px !important; font-weight: 700 !important; transition: background-color .25s, color .25s, translate .25s, box-shadow .25s; }
.ktr-btn .elementor-button:hover { translate: 0 -2px; box-shadow: 0 10px 24px rgba(158, 12, 36, .22); }

/* ---------- footer ---------- */
.ktr-footer { position: relative; overflow: hidden; border-top: 5px solid var(--ktr-red); background-image: linear-gradient(180deg, #84101F, #5E0915) !important; }
.ktr-footer::before { content: "DETERMINATION"; position: absolute; left: 50%; bottom: -.22em; transform: translateX(-50%); font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 11.5vw; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); pointer-events: none; }
.ktr-footer > * { position: relative; }
.ktr-footer__badge img { background: #fff; border-radius: 50%; padding: 14px 10px; width: 104px; height: 104px; object-fit: contain; }
.ktr-flinks { list-style: none; margin: 0; padding: 0; }
.ktr-flinks li { margin: 0 0 .55em; }
.ktr-flinks a, .ktr-footer a { color: #FFF1F2; text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.ktr-flinks a:hover, .ktr-footer a:hover { color: #FFC2CA; }

/* ---------- WhatsApp ---------- */
.ktr-wa { position: fixed; right: 22px; bottom: 22px; z-index: 998; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #1F8F4E; color: #fff !important; font: 700 15px/1 'Nunito Sans', sans-serif; text-decoration: none; box-shadow: 0 14px 34px rgba(20, 60, 35, .3); transition: translate .25s, background .25s; }
.ktr-wa svg { width: 26px; height: 26px; }
.ktr-wa:hover { background: #18773F; translate: 0 -3px; }
.ktr-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1F8F4E; animation: ktr-ping 2.6s 1.5s infinite; pointer-events: none; }
@keyframes ktr-ping { 0% { opacity: .8; scale: 1; } 70%, 100% { opacity: 0; scale: 1.35; } }
@media (max-width: 767px) { .ktr-wa { padding: 14px; right: 16px; bottom: 16px; } .ktr-wa span { display: none; } }

/* ---------- scroll reveal ---------- */
.ktr-js .ktr-reveal { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .8s cubic-bezier(.2, .7, .2, 1); }
.ktr-js .ktr-reveal.ktr-in { opacity: 1; translate: 0 0; }
.ktr-js .ktr-tag.ktr-reveal { translate: 0 -30px; }
.ktr-js .ktr-tag.ktr-in { translate: 0 0; animation: ktr-swing 1.6s ease both; animation-delay: inherit; }
.ktr-motto .elementor-heading-title { animation: ktr-rise 1s .1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ktr-rise { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }

/* ---------- News & Events ---------- */
.ktr-feed { display: flex; flex-direction: column; gap: 34px; }
.ktr-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; padding: 0 0 8px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 26px rgba(90, 20, 30, .18); font-family: 'Archivo', sans-serif; color: var(--ktr-ink); line-height: 1; flex: none; }
.ktr-date i { display: block; width: 100%; padding: 6px 0 5px; background: var(--ktr-red); color: #fff; font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; text-align: center; }
.ktr-date b { font-size: 30px; font-weight: 800; margin-top: 6px; }
.ktr-date small { font: 700 11px 'Nunito Sans', sans-serif; color: #8a7d80; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.ktr-coming { border: 1px solid var(--ktr-line); border-top: 4px solid var(--ktr-red); border-radius: 14px; padding: 28px 30px; background: #fff; box-shadow: 0 16px 38px rgba(90, 20, 30, .07); }
.ktr-coming__h { margin: 0 0 16px; font: 800 26px 'Archivo', sans-serif; color: var(--ktr-ink); }
.ktr-coming__list { list-style: none; margin: 0; padding: 0; }
.ktr-coming__list li + li { border-top: 1px dashed var(--ktr-line); }
.ktr-coming__list a { display: flex; align-items: center; gap: 20px; padding: 14px 0; text-decoration: none; color: var(--ktr-text); }
.ktr-coming__text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ktr-coming__text strong { font: 700 19px 'Archivo', sans-serif; color: var(--ktr-ink); }
.ktr-coming__go { font-size: 22px; color: var(--ktr-red); transition: translate .2s; }
.ktr-coming__list a:hover .ktr-coming__go { translate: 5px 0; }
.ktr-coming__list a:hover strong { color: var(--ktr-red); }
@media (max-width: 600px) { .ktr-coming { padding: 22px 18px; } .ktr-coming__go { display: none; } .ktr-coming__list a { gap: 16px; } .ktr-coming__text strong { font-size: 17px; } .ktr-coming__text span { font-size: 14px; } }
.ktr-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ktr-chips a { padding: 9px 18px; border: 1.5px solid var(--ktr-line); border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ktr-ink); text-decoration: none; background: #fff; transition: border-color .2s, background .2s, color .2s; }
.ktr-chips a span { color: #9b8f92; font-weight: 600; margin-left: 2px; }
.ktr-chips a:hover { border-color: var(--ktr-red); color: var(--ktr-red); }
.ktr-chips a.is-active { background: var(--ktr-red); border-color: var(--ktr-red); color: #fff; }
.ktr-chips a.is-active span { color: #FFD0D6; }
.ktr-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 1024px) { .ktr-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ktr-post-grid { grid-template-columns: 1fr; } }
.ktr-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ktr-line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(90, 20, 30, .06); transition: translate .3s, box-shadow .3s; }
.ktr-post:hover { translate: 0 -5px; box-shadow: 0 24px 50px rgba(90, 20, 30, .12); }
.ktr-post__img { position: relative; display: block; overflow: visible; }
.ktr-post__img img { display: block; width: 100%; height: 240px; object-fit: cover; border-radius: 0; border-bottom: 4px solid var(--ktr-red); transition: filter .5s; }
.ktr-post:hover .ktr-post__img img { filter: brightness(1.06) saturate(1.08); }
.ktr-post__img.no-image { height: 240px; background: linear-gradient(160deg, var(--ktr-red), var(--ktr-deep)); }
.ktr-post__img .ktr-date { position: absolute; left: 26px; bottom: -18px; }
.ktr-post__body { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; flex: 1; }
.ktr-post__meta { margin: 0; font-size: 14px; color: #85797c; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ktr-post__cat { font-weight: 800; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ktr-red); }
.is-upcoming .ktr-post__cat { background: var(--ktr-red); color: #fff; padding: 3px 9px; border-radius: 4px; }
.ktr-post__title { margin: 0; font: 800 22px/1.25 'Archivo', sans-serif; }
.ktr-post__title a { color: var(--ktr-ink); text-decoration: none; }
.ktr-post__title a:hover { color: var(--ktr-red); }
.ktr-post__excerpt { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ktr-text); }
.ktr-post__more { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--ktr-red); text-decoration: none; }
.ktr-post__more span { display: inline-block; transition: translate .2s; }
.ktr-post__more:hover span { translate: 4px 0; }
.ktr-post__img:has(.ktr-date) + .ktr-post__body { padding-top: 34px; }
.ktr-empty { padding: 40px; text-align: center; border: 2px dashed var(--ktr-line); border-radius: 14px; color: #85797c; font-size: 17px; }
.ktr-pager { display: flex; justify-content: center; gap: 8px; }
.ktr-pager .page-numbers { padding: 8px 14px; border-radius: 6px; border: 1px solid var(--ktr-line); color: var(--ktr-ink); text-decoration: none; font-weight: 700; }
.ktr-pager .current { background: var(--ktr-red); border-color: var(--ktr-red); color: #fff; }

/* ---------- story page ---------- */
.ktr-story-page #content > .ast-container { display: block !important; max-width: none !important; width: 100% !important; padding: 0 !important; }
.ktr-story-page #primary.ktr-story { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.ktr-story__hero { position: relative; display: flex; align-items: flex-end; min-height: 70vh; padding: 210px 32px 120px; background: #3a1016 var(--ktr-hero) center / cover no-repeat; border-radius: 0 0 50% 50% / 0 0 70px 70px; overflow: hidden; }
.ktr-story__hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.ktr-story__inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; }
.ktr-story__back { color: #fff; font-weight: 700; text-decoration: none; font-size: 15px; }
.ktr-story__back:hover { color: #FFC9D0; }
.ktr-story__meta { margin: 22px 0 12px; color: #F4ECEC; font-size: 15px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ktr-story__meta span { background: var(--ktr-red); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.ktr-story__title { margin: 0; max-width: 900px; color: #fff; font: 800 clamp(34px, 5vw, 60px)/1.08 'Archivo', sans-serif; letter-spacing: -1px; text-wrap: balance; }
.ktr-story__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; max-width: 1200px; margin: 0 auto; padding: 80px 32px 90px; }
@media (max-width: 960px) { .ktr-story__layout { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px 70px; } .ktr-story__hero { padding: 140px 20px 80px; min-height: 58vh; border-radius: 0 0 50% 50% / 0 0 34px 34px; } }
.ktr-story__content { font-size: 18px; line-height: 1.8; color: var(--ktr-text); }
.ktr-story__content h2, .ktr-story__content h3 { font-family: 'Archivo', sans-serif; color: var(--ktr-ink); margin: 1.4em 0 .5em; }
.ktr-story__content img { border-radius: 12px; height: auto; }
.ktr-story__content a { color: var(--ktr-red); }
.ktr-story__lead { font-size: 21px; line-height: 1.6; color: var(--ktr-ink); font-weight: 600; margin-bottom: 1.2em; }
.ktr-story__aside { display: flex; flex-direction: column; gap: 24px; }
.ktr-story__box { padding: 26px 26px 28px; border: 1px solid var(--ktr-line); border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(90, 20, 30, .06); }
.ktr-story__box h2 { margin: 0 0 12px; font: 800 20px 'Archivo', sans-serif; color: var(--ktr-ink); }
.ktr-story__box ul { list-style: none; margin: 0 0 16px; padding: 0; line-height: 1.9; }
.ktr-story__box--event { border-top: 4px solid var(--ktr-red); }
.ktr-story__box--event .ktr-date { margin-bottom: 16px; }
.ktr-story__btn { display: inline-block; padding: 12px 20px; border-radius: 6px; background: var(--ktr-red); color: #fff !important; font-weight: 700; text-decoration: none; }
.ktr-story__btn:hover { background: var(--ktr-red-d); }
.ktr-story__share { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ktr-story__share a { padding: 8px 14px; border: 1.5px solid var(--ktr-line); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ktr-ink); text-decoration: none; }
.ktr-story__share a:hover { border-color: var(--ktr-red); color: var(--ktr-red); }
.ktr-story__more { background-image: linear-gradient(180deg, #fff, var(--ktr-blush-2)); padding: 80px 32px 100px; }
.ktr-story__more-inner { max-width: 1200px; margin: 0 auto; }
.ktr-story__more h2 { margin: 0 0 30px; font: 800 36px 'Archivo', sans-serif; color: var(--ktr-ink); }

@media (prefers-reduced-motion: reduce) {
	.ktr-site *, .ktr-site *::before, .ktr-site *::after { animation: none !important; transition: none !important; }
	.ktr-js .ktr-reveal, .ktr-js .ktr-book .ktr-book__page { opacity: 1 !important; translate: none !important; transform: none !important; }
}
