/*
 * Success stories — ported from the old theme (inc/success-stories.php, .ks-* archive and .kss2-* single page).
 * Physical left/right rules were turned into logical properties so the same CSS works in RTL (Sorani);
 * no row-reverse anywhere — the browser mirrors flex/grid order from dir="rtl" by itself.
 */

/* ============================================================ archive (.ks-*) */
.ks-wrap { color: #0f172a; box-sizing: border-box; font-family: inherit; }
.ks-wrap *, .ks-wrap *::before, .ks-wrap *::after { box-sizing: border-box; }
.ks-container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 640px) { .ks-container { padding: 0 1rem; } }

/* Hero */
.ks-hero { padding: 5rem 0 3.5rem; background: linear-gradient(180deg, #FAFAF7 0%, #FFFFFF 100%); border-bottom: 1px solid #E8E3D8; text-align: start; }
.ks-hero-eyebrow { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: #14B1BB; font-weight: 700; margin-bottom: 1rem; }
[dir="rtl"] .ks-hero-eyebrow, [dir="rtl"] .ks-stat-label { letter-spacing: 0; }
.ks-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; color: #0f172a; margin: 0 0 1.25rem; letter-spacing: -.02em; }
[dir="rtl"] .ks-hero h1 { letter-spacing: 0; line-height: 1.4; }
.ks-hero-lede { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; color: #475569; max-width: 720px; margin: 0; }
.ks-hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #E8E3D8; }
.ks-stat-num { font-size: 1.875rem; font-weight: 800; color: #003366; line-height: 1; letter-spacing: -.02em; }
.ks-stat-label { font-size: .8rem; color: #64748b; margin-top: .35rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* Filter bar */
.ks-filterbar { border-bottom: 1px solid #E8E3D8; padding: 1.25rem 0; position: relative; z-index: 5; background: rgba(255,255,255,.96); }
.ks-filterbar form { margin: 0; }
.ks-search { width: 100%; display: flex; align-items: center; gap: .75rem; background: #FAFAF7; border: 1.5px solid #E8E3D8; border-radius: 999px; padding: .45rem .5rem; padding-inline-start: 1.25rem; transition: border-color .15s; }
.ks-search:focus-within { border-color: #14B1BB; background: #fff; }
.ks-search input { border: 0; background: transparent; font-size: 1rem; outline: 0; flex: 1; font-family: inherit; color: #0f172a; min-width: 0; padding: .35rem 0; }
.ks-search-icon { color: #94a3b8; flex-shrink: 0; font-size: 1.1rem; }
.ks-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; align-items: center; }
.ks-filter { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1.5px solid #E8E3D8; border-radius: 999px; padding: .45rem .9rem; font-size: .82rem; color: #475569; font-family: inherit; cursor: pointer; transition: all .15s; font-weight: 600; text-decoration: none; }
.ks-filter:hover { border-color: #14B1BB; color: #003366; }
.ks-filter.is-active { background: #003366; color: #fff; border-color: #003366; }
.ks-select { background: #fff; border: 1.5px solid #E8E3D8; border-radius: 999px; padding: .45rem 1rem; font-size: .82rem; color: #475569; font-family: inherit; font-weight: 600; cursor: pointer; max-width: 100%; }
.ks-select:focus { outline: 2px solid #14B1BB; outline-offset: 1px; }

/* Categories */
.ks-cats { display: flex; flex-wrap: wrap; gap: .5rem; padding: 2rem 0 0; }
.ks-cat { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid #E8E3D8; border-radius: 999px; padding: .55rem 1rem; font-size: .85rem; color: #334155; font-weight: 600; text-decoration: none; transition: all .2s; }
.ks-cat:hover { border-color: #14B1BB; color: #003366; transform: translateY(-1px); }
.ks-cat.is-active { background: #003366; color: #fff; border-color: #003366; }
.ks-cat-icon { font-size: 1rem; }

/* Section heading */
.ks-section { padding: 3.5rem 0; }
.ks-section--tint { background: #FAFAF7; }
.ks-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.ks-section-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin: 0; letter-spacing: -.01em; }
.ks-section-sub { font-size: .9rem; color: #64748b; margin: .35rem 0 0; }
.ks-link { color: #14B1BB; font-size: .9rem; font-weight: 700; text-decoration: none; }
.ks-link:hover { color: #003366; }

/* Featured block */
.ks-feature-card { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 32px rgba(15,23,42,.06); border: 1px solid #E8E3D8; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.ks-feature-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,23,42,.1); }
.ks-feature-cover { aspect-ratio: 16/10; background: linear-gradient(135deg, #003366, #14B1BB); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ks-feature-cover img { width: 100%; height: 100%; object-fit: cover; }
.ks-feature-cover .ks-card-cover-fallback { font-size: 5rem; }
.ks-feature-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ks-feature-badge { display: inline-flex; align-items: center; gap: .4rem; background: #E0F7F8; color: #003366; padding: .35rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; width: fit-content; margin-bottom: 1rem; }
[dir="rtl"] .ks-feature-badge { letter-spacing: 0; }
.ks-feature-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: #0f172a; margin: 0 0 .85rem; letter-spacing: -.01em; line-height: 1.25; }
.ks-feature-sum { color: #475569; font-size: 1rem; line-height: 1.7; margin: 0 0 1.5rem; }
.ks-feature-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: #64748b; font-size: .85rem; font-weight: 600; }
.ks-feature-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
@media (max-width: 780px) { .ks-feature-card { grid-template-columns: 1fr; } .ks-feature-body { padding: 1.5rem; } }

/* Card grid */
.ks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
@media (max-width: 400px) { .ks-grid, .ks-feature-more { grid-template-columns: 1fr; } }
.ks-card { background: #fff; border: 1px solid #E8E3D8; border-radius: 16px; overflow: hidden; transition: all .25s; display: flex; flex-direction: column; min-width: 0; }
.ks-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(15,23,42,.08); border-color: transparent; }
.ks-card-cover { aspect-ratio: 16/10; background: linear-gradient(135deg, #003366 0%, #14B1BB 100%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ks-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ks-card:hover .ks-card-cover img { transform: scale(1.04); }
.ks-card-cover-fallback { font-size: 4rem; color: rgba(255,255,255,.85); line-height: 1; }
.ks-card-status { position: absolute; top: .75rem; inset-inline-start: .75rem; background: rgba(255,255,255,.95); color: #0f172a; padding: .25rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: .35rem; }
.ks-card-status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--c, #94a3b8); }
.ks-card-cat { position: absolute; bottom: .75rem; inset-inline-end: .75rem; background: rgba(15,23,42,.75); color: #fff; padding: .3rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.ks-card-star { position: absolute; top: .75rem; inset-inline-end: .75rem; background: #FDE68A; color: #92400e; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.ks-card-body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.ks-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .78rem; color: #64748b; margin-bottom: .65rem; font-weight: 600; }
.ks-card-flag { font-size: 1rem; }
.ks-card-sep { color: #cbd5e1; }
.ks-card-title { font-size: 1.25rem; font-weight: 800; color: #0f172a; margin: 0 0 .65rem; line-height: 1.35; letter-spacing: -.01em; }
.ks-card-title a { color: inherit; text-decoration: none; }
.ks-card-title a:hover { color: #003366; }
.ks-card-summary { font-size: .9rem; line-height: 1.6; color: #475569; margin: 0 0 1.25rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ks-card-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid #F1EDE3; }
.ks-card-author { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: #64748b; font-weight: 600; min-width: 0; }
.ks-card-author > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-avatar { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg,#003366,#14B1BB); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; }
.ks-card-go { font-size: .78rem; font-weight: 700; color: #14B1BB; text-decoration: none; white-space: nowrap; }
.ks-card-go:hover { color: #003366; }

/* Stories by country (replaces the old Leaflet map) */
.ks-countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.ks-country { display: flex; align-items: center; gap: .65rem; background: #fff; border: 1.5px solid #E8E3D8; border-radius: 14px; padding: .85rem 1rem; text-decoration: none; color: #0f172a; font-weight: 700; font-size: .92rem; transition: all .15s; }
.ks-country:hover { border-color: #14B1BB; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,23,42,.06); }
.ks-country.is-active { border-color: #003366; background: #003366; color: #fff; }
.ks-country-flag { font-size: 1.35rem; line-height: 1; width: 1.6rem; text-align: center; flex-shrink: 0; }
.ks-country-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-country-n { background: #E0F7F8; color: #003366; border-radius: 999px; padding: .1rem .55rem; font-size: .75rem; font-weight: 800; }
.ks-country.is-active .ks-country-n { background: rgba(255,255,255,.2); color: #fff; }

/* Empty state */
.ks-empty { text-align: center; padding: 4rem 1.5rem; color: #94a3b8; }
.ks-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.ks-empty h3 { color: #475569; font-size: 1.1rem; margin: 0 0 .5rem; }
.ks-empty p { margin: 0; }

/* CTA */
.ks-cta-row { background: #003366; color: #fff; border-radius: 24px; padding: 3.5rem 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; margin: 4rem 0 3rem; }
.ks-cta-row h2 { font-size: 1.875rem; margin: 0 0 .5rem; font-weight: 800; letter-spacing: -.01em; color: #ffffff !important; }
.ks-cta-row p { color: #cbd5e1 !important; margin: 0; font-size: 1rem; }
.ks-cta-row .ks-btn { color: #ffffff !important; background: #14B1BB !important; }
.ks-cta-row .ks-btn:hover { opacity: .9; }
@media (max-width: 640px) { .ks-cta-row { padding: 2.25rem 1.5rem; } }
.ks-btn { display: inline-flex; align-items: center; gap: .5rem; background: #14B1BB; color: #fff; padding: .9rem 1.75rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 0; cursor: pointer; font-family: inherit; transition: all .15s; }
.ks-btn:hover { background: #003366; transform: translateY(-1px); color: #fff; }
.ks-btn--sm { padding: .5rem 1.1rem; font-size: .82rem; }
.ks-btn-outline { background: transparent; color: #003366; border: 1.5px solid #003366; }
.ks-btn-outline:hover { background: #003366; color: #fff; }

/* Pagination (pagination_links() markup) */
.ks-wrap .kg-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.ks-wrap .kg-pagination a, .ks-wrap .kg-pagination span { padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid #E8E3D8; font-weight: 700; font-size: .85rem; color: #475569; text-decoration: none; background: #fff; }
.ks-wrap .kg-pagination a:hover { border-color: #14B1BB; color: #003366; }
.ks-wrap .kg-pagination .is-current { background: #003366; color: #fff; border-color: #003366; }

/* ============================================================ single story (.kss2-*) */
.kss2-page { color: #0f172a; max-width: 100%; font-family: inherit; padding-bottom: 1rem; }
.kss2-page *, .kss2-page *::before, .kss2-page *::after { box-sizing: border-box; }
.kss2-page a { color: inherit; }
.kss2-page p { margin: 0 0 .9rem; }
.kss2-page p:last-child { margin-bottom: 0; }

.kss2-preview { max-width: 1180px; margin: 1.25rem auto 0; padding: .75rem 1.25rem; background: #FFF6E5; color: #92400e; border: 1px solid #FCD9A6; border-radius: 12px; font-size: .9rem; font-weight: 600; }
@media (max-width: 1228px) { .kss2-preview { margin-inline: 1.5rem; } }

.kss2-crumbs { max-width: 1180px; margin: 1.25rem auto 0; padding: 0 1.5rem; font-size: .82rem; color: #64748b; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.kss2-crumbs a { color: #64748b; text-decoration: none; }
.kss2-crumbs a:hover { color: #14B1BB; }
.kss2-crumbs .kss2-sep { color: #cbd5e1; }
.kss2-crumbs .kss2-here { color: #0f172a; font-weight: 600; max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kss2-hero { position: relative; max-width: 1180px; margin: 1.5rem auto 0; padding: 0 1.5rem; }
.kss2-hero.has-cover { padding-top: clamp(180px, 26vw, 320px); }
.kss2-hero-bg { position: absolute; inset-inline: 1.5rem; top: 0; height: clamp(180px, 26vw, 320px); background-size: cover; background-position: center; border-radius: 24px; box-shadow: 0 12px 40px rgba(15,23,42,.12); }
.kss2-hero-tint { position: absolute; inset-inline: 1.5rem; top: 0; height: clamp(180px, 26vw, 320px); border-radius: 24px; background: linear-gradient(180deg, rgba(0,51,102,.15) 0%, rgba(0,51,102,.55) 100%); }
.kss2-hero-inner { position: relative; background: #fff; border: 1px solid #E8E3D8; border-radius: 20px; padding: 2rem clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(-5rem, -6vw, -3rem); margin-inline: clamp(0rem, 2vw, 1.5rem); box-shadow: 0 8px 32px rgba(15,23,42,.06); max-width: 880px; }
.kss2-hero.no-cover .kss2-hero-inner { margin-top: 0; margin-inline: 0; background: linear-gradient(180deg, #FAFAF7 0%, #FFFFFF 100%); }
.kss2-hero-eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: #64748b; font-weight: 600; margin-bottom: 1rem; flex-wrap: wrap; }
.kss2-hero-eyebrow .kss2-cat { display: inline-flex; align-items: center; gap: .35rem; background: #E0F7F8; color: #003366; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.kss2-hero-eyebrow .kss2-dot { color: #cbd5e1; }
.kss2-title { font-size: clamp(1.875rem, 4vw, 2.75rem); line-height: 1.2; font-weight: 800; color: #003366; margin: 0 0 1rem; letter-spacing: -.02em; }
[dir="rtl"] .kss2-title { letter-spacing: 0; line-height: 1.45; }
.kss2-deck { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; color: #334155; font-weight: 500; margin: 0 0 1.5rem; max-width: 64ch; }
.kss2-byline { display: flex; align-items: center; gap: .9rem; padding-top: 1.25rem; border-top: 1px solid #F1EDE3; flex-wrap: wrap; font-size: .9rem; color: #475569; }
.kss2-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#003366,#14B1BB); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.kss2-byname strong { color: #0f172a; font-weight: 700; }
.kss2-status { display: inline-flex; align-items: center; gap: .4rem; margin-inline-start: auto; padding: .25rem .7rem; border-radius: 999px; background: rgba(0,0,0,.04); font-size: .8rem; font-weight: 600; color: var(--c, #475569); }
.kss2-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #94a3b8); }

.kss2-grid { max-width: 1180px; margin: 2.5rem auto 0; padding: 0 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
@media (max-width: 980px) { .kss2-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; } }
.kss2-main { min-width: 0; }
.kss2-sec { margin: 0 0 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #F1EDE3; }
.kss2-sec:last-child { border-bottom: 0; }
.kss2-h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 800; color: #0f172a; margin: 0 0 1.25rem; letter-spacing: -.015em; position: relative; padding-inline-start: 1rem; }
.kss2-h2::before { content: ''; position: absolute; inset-inline-start: 0; top: .25em; bottom: .25em; width: 4px; background: linear-gradient(180deg, #14B1BB, #003366); border-radius: 2px; }
.kss2-prose { font-size: 1.05rem; line-height: 1.8; color: #334155; overflow-wrap: anywhere; }
.kss2-prose strong { color: #0f172a; }
.kss2-prose ul, .kss2-prose ol { padding-inline-start: 1.5rem; margin: 0 0 1rem; }
.kss2-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.kss2-prose a { color: #0e7c83; text-decoration: underline; }
.kss2-prose blockquote { margin: 1rem 0; padding: .75rem 1.1rem; border-inline-start: 4px solid #14B1BB; background: #FAFAF7; border-radius: 8px; }
.kss2-who { margin-top: 1rem; padding: .9rem 1.1rem; background: #FAFAF7; border-radius: 12px; }
.kss2-figure { margin: 0 0 1.5rem; }
.kss2-figure img { width: 100%; height: auto; border-radius: 16px; display: block; }

.kss2-callout { background: #003366; color: #fff; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; margin-bottom: 1rem; }
.kss2-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.kss2-tag { background: #fff; border: 1.5px solid #E8E3D8; padding: .35rem .85rem; border-radius: 999px; font-size: .82rem; color: #475569; font-weight: 600; }

.kss2-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6rem; }
@media (max-width: 980px) { .kss2-side { position: static; } }
.kss2-card { background: #fff; border: 1px solid #E8E3D8; border-radius: 16px; padding: 1.5rem; }
.kss2-card-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #64748b; margin: 0 0 1.1rem; font-weight: 700; }
[dir="rtl"] .kss2-card-h { letter-spacing: 0; font-size: .85rem; }
.kss2-act-list { display: flex; flex-direction: column; gap: .6rem; }
.kss2-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.1rem; border-radius: 12px; font-weight: 700; font-size: .9rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: all .15s; }
.kss2-btn-ic { font-size: 1.05rem; line-height: 1; }
.kss2-page .kss2-btn-primary { background: #14B1BB; color: #fff; }
.kss2-page .kss2-btn-primary:hover { background: #003366; }
.kss2-page .kss2-btn-secondary { background: #FAFAF7; color: #003366; border: 1.5px solid #E8E3D8; }
.kss2-page .kss2-btn-secondary:hover { border-color: #14B1BB; }
.kss2-page .kss2-btn-ghost { background: transparent; color: #003366; border: 1.5px solid #E8E3D8; }
.kss2-page .kss2-btn-ghost:hover { border-color: #14B1BB; color: #14B1BB; }
.kss2-share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #F1EDE3; }
.kss2-share-lbl { font-size: .78rem; color: #64748b; font-weight: 600; }
.kss2-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #FAFAF7; color: #475569; text-decoration: none; font-weight: 700; font-size: .85rem; border: 1px solid #E8E3D8; transition: all .15s; }
.kss2-share-btn:hover { background: #14B1BB; color: #fff !important; border-color: #14B1BB; }

.kss2-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
.kss2-facts dt { grid-column: 1; font-size: .8rem; color: #64748b; font-weight: 600; padding: .6rem 0; border-bottom: 1px solid #F1EDE3; }
.kss2-facts dd { grid-column: 2; font-size: .85rem; color: #0f172a; font-weight: 700; padding: .6rem 0; border-bottom: 1px solid #F1EDE3; margin: 0; text-align: end; overflow-wrap: anywhere; }
.kss2-facts dt:last-of-type, .kss2-facts dd:last-of-type { border-bottom: 0; }

.kss2-founder { display: flex; align-items: center; gap: .8rem; }
.kss2-founder-av { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #003366, #14B1BB); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 700; }
.kss2-founder-name { font-size: 1rem; font-weight: 700; color: #0f172a; }
.kss2-founder-role { font-size: .82rem; color: #64748b; margin-top: 2px; }

.kss2-related { margin: 4rem 0 0; background: #FAFAF7; padding: 3.5rem 0; border-top: 1px solid #E8E3D8; }
.kss2-related-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.kss2-related-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.75rem; gap: 1rem; flex-wrap: wrap; }
.kss2-related-head h2 { font-size: 1.5rem; font-weight: 800; color: #003366; margin: 0; letter-spacing: -.01em; }
.kss2-related-head p { color: #64748b; margin: .35rem 0 0; font-size: .9rem; }
.kss2-related-all { color: #14B1BB !important; font-weight: 700; text-decoration: none; font-size: .9rem; }
.kss2-related-all:hover { color: #003366 !important; }
.kss2-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.kss2-rel-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E8E3D8; border-radius: 14px; overflow: hidden; text-decoration: none; transition: all .2s; }
.kss2-rel-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,.08); border-color: transparent; }
.kss2-rel-cover { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #003366, #14B1BB); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.kss2-rel-cover-icon { font-size: 3rem; color: rgba(255,255,255,.7); }
.kss2-rel-cat { position: absolute; bottom: .65rem; inset-inline-start: .65rem; background: rgba(0,51,102,.85); color: #fff; padding: .25rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.kss2-rel-body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.kss2-rel-meta { font-size: .72rem; color: #64748b; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.kss2-rel-title { font-size: 1.05rem; font-weight: 800; color: #003366; line-height: 1.35; letter-spacing: -.01em; }
.kss2-rel-sum { font-size: .85rem; color: #475569; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.kss2-mobile-bar { display: none; }
@media (max-width: 980px) {
	.kss2-mobile-bar { position: fixed; bottom: 0; inset-inline: 0; background: #fff; border-top: 1px solid #E8E3D8; padding: .65rem .75rem; display: flex; gap: .5rem; z-index: 80; box-shadow: 0 -6px 18px rgba(0,0,0,.07); }
	.kss2-mobile-bar .kss2-btn { flex: 1; padding: .7rem; font-size: .85rem; }
	.kss2-page.has-bar { padding-bottom: 80px; }
}

/* ============================================================ member submission form */
.ks-submit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .ks-submit-grid { grid-template-columns: 1fr; } }
.ks-submit .kg-field textarea.kg-input { min-height: 9rem; resize: vertical; line-height: 1.7; }
.ks-submit .has-error .kg-input { border-color: #dc2626; }
.ks-langpick { display: flex; flex-wrap: wrap; gap: .5rem; }
.ks-langpick label { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid #E8E3D8; border-radius: 999px; padding: .4rem .9rem; cursor: pointer; font-weight: 600; font-size: .9rem; }
.ks-langpick label:has(input:checked) { border-color: #003366; background: #F0F7FF; }
.ks-mine { list-style: none; margin: 0; padding: 0; }
.ks-mine li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid #F1EDE3; font-size: .9rem; }
.ks-mine li:last-child { border-bottom: 0; }
.ks-mine a { color: #003366; font-weight: 700; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
