/* =========================================================================
   Kreedangana Sports Management — site layer
   Sits on top of the template stylesheet. Adds what the template did not ship
   (inner banners, service cards, forms, admin-facing utilities) and corrects
   two template component behaviours that break with real (non-placeholder)
   copy — see the "template corrections" block below for why.
   ========================================================================= */

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    --ksm-red: #e41b23;
    --ksm-dark: #111111;
    --ksm-ink: #1a1a1a;
    --ksm-muted: #5b5b5b;
    --ksm-line: #e6e6e6;
    --ksm-bg-soft: #f6f7f9;
    --ksm-radius: 14px;
    --ksm-radius-sm: 8px;
    --ksm-shadow: 0 10px 30px rgba(17, 17, 17, .08);
}

/* =========================================================================
   TEMPLATE CORRECTIONS
   The stock template's `.pretitle` inside `.section-title-area` is a giant
   (160px desktop / 90px tablet / 60px mobile) absolutely-positioned watermark
   word rendered behind the heading with a near-white fill (z-index:-1) — the
   template's own demo content only ever puts one short word in it ("GAMES",
   "SPONSOR"). Populated with a real, often-longer label, that same rule
   produces exactly the two symptoms reported: giant ghost text overlapping
   surrounding content, and near-invisible white-on-white/blended text. This
   block turns it into a normal small visible eyebrow label everywhere it is
   used as one, and separately fixes the hero heading, which the template
   ships at a fixed 100px with `overflow:hidden` and no responsive step-down
   for the plain (non themed) banner variant used here — on a real (longer)
   two-line heading at narrow widths that clips instead of scaling down.
   ========================================================================= */
.section-title-area .pretitle {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-block;
    font-size: 13px !important;
    line-height: 1.4;
    font-weight: 800 !important;
    letter-spacing: 1.5px;
    -webkit-text-stroke-width: 0 !important;
    -webkit-text-fill-color: var(--ksm-red) !important;
    color: var(--ksm-red);
    background: none;
    z-index: 1;
    margin-bottom: 12px;
    max-width: 90%;
    overflow-wrap: break-word;
}
@media (max-width: 768px) {
    .section-title-area .pretitle { font-size: 12px !important; }
}
@media (max-width: 480px) {
    .section-title-area .pretitle { font-size: 11.5px !important; }
}

.banner-content .banner-heading {
    font-size: clamp(28px, 4.6vw, 64px);
    line-height: 1.15;
    overflow-wrap: break-word;
    overflow: visible;
}
.banner .banner-content .banner-heading {
    overflow: visible !important;
    max-height: none !important;
}
/* The template plays a 3s max-height reveal (0 -> 400px) on the active slide's
   heading, but the hero autoplays every 3.5s — so on every rotation the next
   heading is still mid-clip (only the top half of its second line visible)
   when the slide cross-fades in. The animation never gets to finish before
   restarting. Disabling it: the heading now simply appears with the slide's
   own fade transition instead of clipping into view underneath it. */
.banner .swiper-slide-active .banner-heading {
    animation: none !important;
}
.banner-content .pretitle {
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
}

/* The template's `.about-inner .contents` and `.blog-item .contents` component
   variants assume a dark card/panel background (they style their own heading,
   heading-span and author byline white for contrast against it) — this site
   reuses those component classes on plain white sections without that dark
   panel, which otherwise renders that specific text invisibly (white-on-white).
   Forced back to normal dark, readable text only where actually affected. */
.rts-about-section .about-inner .contents .section-title-area .section-title,
.rts-about-section .about-inner .contents .section-title-area .section-title span {
    color: var(--ksm-dark) !important;
    -webkit-text-fill-color: var(--ksm-dark) !important;
    font-size: inherit !important;
}
.rts-blog-section .blog-item .contents .author-info .author-name {
    color: var(--ksm-muted) !important;
}

/* Defensive wrapping net: long, real-world copy (a service name, an event
   title, a long client name) must never be clipped or forced to overflow its
   box — it should wrap and, where a container is measured in one line
   (buttons, pills, badges), shrink to fit instead of colliding with a
   neighbour. */
h1, h2, h3, h4, .section-title, .banner-heading,
.blog-title, .ksm-service-title, .ksm-event-body h3, .ksm-quote-name,
.club-text, .name, .footer-widget-title {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.more-btn, .banner-btn, .ksm-nav-cta, .ksm-submit, .a-btn, .ksm-filter-btn,
.ksm-tag, .ksm-client-chip, .a-pill {
    white-space: normal;
    text-align: center;
    height: auto;
    max-height: none;
    line-height: 1.3;
    row-gap: 4px;
}
.ksm-fact-value, .ksm-event-facts span, .team, .match-type {
    overflow-wrap: break-word;
}
/* Flex/grid children must be able to shrink below their content's natural
   width, or long unbroken text pushes siblings and overlaps them instead of
   wrapping — the single most common cause of the overlap this section fixes. */
.navbar-inner, .header-action-items, .latest-match-inner, .club-area,
.ksm-cta-inner, .ksm-btn-row, .ksm-event-meta, .table-inner, .team-logo-area,
.button-area, .ksm-topbar-inner, .footer-bottom-links, .bottom-area-inner {
    min-width: 0;
}
.navbar-inner > *, .club-area > *, .ksm-cta-inner > * { min-width: 0; }

/* ------------------------------------------------------------ a11y helpers */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.ksm-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--ksm-red);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
}
.ksm-skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--ksm-red);
    outline-offset: 2px;
}

.ksm-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* ----------------------------------------------------------------- topbar */
.ksm-topbar {
    background: var(--ksm-dark);
    color: #cfcfcf;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ksm-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
    justify-content: space-between;
}
.ksm-topbar-text { margin: 0; color: #b9b9b9; }
.ksm-topbar-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ksm-topbar-contact a { color: #e9e9e9; text-decoration: none; }
.ksm-topbar-contact a:hover { color: var(--ksm-red); }
.ksm-topbar-contact i { color: var(--ksm-red); margin-right: 6px; }
@media (max-width: 767px) {
    .ksm-topbar-text { display: none; }
    .ksm-topbar-inner { justify-content: center; }
}

/* ------------------------------------------------------------- header cta */
.ksm-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ksm-red);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    padding: 16px 30px;
    border-radius: var(--ksm-radius-sm);
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .25s ease;
}
.ksm-nav-cta:hover { background: #111; color: #fff !important; }
@media (max-width: 991px) { .ksm-nav-cta { display: none; } }

/* ------------------------------------------------------------- hero/banner */
.ksm-banner-bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.ksm-banner-inner .banner-single {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
}
.ksm-banner-inner .banner-heading {
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 14px;
}
.ksm-banner-lead {
    color: #dedede;
    max-width: 660px;
    font-size: 17px;
    line-height: 1.65;
    margin: 14px 0 22px;
}

/* --------------------------------------------------------------- breadcrumb */
.ksm-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0; padding: 0;
    font-size: 14px;
}
.ksm-breadcrumb li + li::before {
    content: "/";
    color: #8a8a8a;
    margin-right: 8px;
}
.ksm-breadcrumb a { color: #d8d8d8; text-decoration: none; }
.ksm-breadcrumb a:hover { color: var(--ksm-red); }
.ksm-breadcrumb [aria-current] span { color: var(--ksm-red); font-weight: 600; }

/* ------------------------------------------------------------------ typography */
.ksm-lead { font-size: 18px; line-height: 1.7; color: var(--ksm-ink); }
.ksm-pullquote {
    border-left: 4px solid var(--ksm-red);
    padding: 14px 0 14px 20px;
    margin: 26px 0;
    font-size: 19px;
    font-style: italic;
    color: var(--ksm-ink);
}
.ksm-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.more-btn-ghost {
    background: transparent !important;
    border: 2px solid var(--ksm-dark) !important;
    color: var(--ksm-dark) !important;
}
.more-btn-ghost:hover { background: var(--ksm-dark) !important; color: #fff !important; }

/* ---------------------------------------------------------------- stat grid */
.ksm-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.ksm-stat {
    background: var(--ksm-bg-soft);
    border-left: 4px solid var(--ksm-red);
    padding: 26px 22px;
    border-radius: var(--ksm-radius);
}
.ksm-stat-num { font-size: 42px; font-weight: 800; color: var(--ksm-dark); line-height: 1; }
.ksm-stat-plus { font-size: 30px; font-weight: 800; color: var(--ksm-red); }
.ksm-stat p { margin: 8px 0 0; font-size: 14px; color: var(--ksm-muted); line-height: 1.5; }

/* ------------------------------------------------------------- service card */
.ksm-service-card {
    background: #fff;
    border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius);
    overflow: hidden;
    margin-bottom: 30px;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ksm-service-card:hover { transform: translateY(-6px); box-shadow: var(--ksm-shadow); }
.ksm-service-media { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.ksm-service-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.ksm-service-card:hover .ksm-service-media img { transform: scale(1.06); }
.ksm-service-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.ksm-service-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    background: var(--ksm-red); color: #fff;
    border-radius: 50%; font-size: 22px;
    margin: -52px 0 16px;
    position: relative;
    box-shadow: 0 6px 18px rgba(228, 27, 35, .35);
}
.ksm-service-title { font-size: 21px; margin-bottom: 10px; line-height: 1.3; }
.ksm-service-title a { color: var(--ksm-dark); text-decoration: none; }
.ksm-service-title a:hover { color: var(--ksm-red); }
.ksm-service-body p { color: var(--ksm-muted); font-size: 15px; line-height: 1.65; flex: 1; }
.ksm-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--ksm-red); font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: .4px; text-decoration: none;
    margin-top: 14px;
}
.ksm-read-more:hover { gap: 14px; color: var(--ksm-dark); }

/* ------------------------------------------------------------- check lists */
.ksm-check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.ksm-check-list li {
    position: relative;
    padding: 9px 0 9px 32px;
    color: var(--ksm-ink);
    font-size: 16px;
    border-bottom: 1px dashed var(--ksm-line);
}
.ksm-check-list li:last-child { border-bottom: 0; }
.ksm-check-list i {
    position: absolute; left: 0; top: 13px;
    color: var(--ksm-red); font-weight: 700;
}

/* ------------------------------------------------------------- why cards */
.ksm-why-card {
    background: #fff;
    border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius);
    padding: 32px 26px;
    margin-bottom: 30px;
    height: calc(100% - 30px);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.ksm-why-card:hover { border-color: var(--ksm-red); box-shadow: var(--ksm-shadow); }
.ksm-why-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; margin-bottom: 18px;
    background: rgba(228, 27, 35, .1);
    color: var(--ksm-red);
    border-radius: 12px; font-size: 25px;
}
.ksm-why-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ksm-dark); }
.ksm-why-card p { color: var(--ksm-muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* ------------------------------------------------------------ testimonials */
.ksm-quote-card {
    background: #fff;
    border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius);
    padding: 34px 30px 30px;
    margin: 0 0 46px;
    height: auto;
    position: relative;
}
.ksm-quote-mark { color: rgba(228, 27, 35, .16); font-size: 40px; line-height: 1; margin-bottom: 8px; }
.ksm-stars { color: #f5a623; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.ksm-quote-card blockquote { margin: 0 0 20px; }
.ksm-quote-card blockquote p {
    font-size: 15.5px; line-height: 1.75; color: var(--ksm-ink); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden;
}
.ksm-quote-card figcaption { border-top: 1px solid var(--ksm-line); padding-top: 16px; }
.ksm-quote-name { display: block; font-weight: 800; color: var(--ksm-dark); font-size: 16px; }
.ksm-quote-role { display: block; font-size: 13.5px; color: var(--ksm-muted); margin-top: 3px; }
.ksm-testimonial-pagination { bottom: 0 !important; }

/* full testimonial list (no clamp) */
.ksm-quote-full blockquote p { -webkit-line-clamp: unset; display: block; overflow: visible; }

/* ----------------------------------------------------------- client chips */
.ksm-client-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ksm-client-chip {
    background: #fff;
    border: 1px solid var(--ksm-line);
    border-radius: 50px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 15px;
    color: var(--ksm-dark);
    transition: all .25s ease;
}
.ksm-client-chip:hover { border-color: var(--ksm-red); color: var(--ksm-red); }
/* Real uploaded client logos vary wildly in native size/aspect ratio — a
   fixed-height box with object-fit:contain is what keeps a row of them
   looking uniform regardless of what shape each one actually is. */
.ksm-client-chip-logo {
    padding: 10px 22px;
    display: flex;
    align-items: center;
    height: 68px;
}
.ksm-client-chip-logo img {
    max-height: 40px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(35%);
    transition: filter .25s ease;
}
.ksm-client-chip-logo:hover img { filter: grayscale(0%); }

/* ------------------------------------------------------------------- FAQ */
.ksm-faq-list { max-width: 900px; margin: 0 auto; }
.ksm-faq-item {
    background: #fff;
    border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius);
    margin-bottom: 14px;
    overflow: hidden;
}
.ksm-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 24px;
    font-weight: 700; font-size: 17px; color: var(--ksm-dark);
    cursor: pointer; list-style: none;
}
.ksm-faq-item summary::-webkit-details-marker { display: none; }
.ksm-faq-item summary i { color: var(--ksm-red); transition: transform .3s ease; flex-shrink: 0; }
.ksm-faq-item[open] summary i { transform: rotate(45deg); }
.ksm-faq-item[open] summary { border-bottom: 1px solid var(--ksm-line); }
.ksm-faq-answer { padding: 18px 24px 24px; }
.ksm-faq-answer p { margin: 0; color: var(--ksm-muted); line-height: 1.75; font-size: 15.5px; }

/* ------------------------------------------------------------------- CTA */
.ksm-cta-band { background: var(--ksm-dark); padding: 66px 0; }
.ksm-cta-inner {
    display: flex; flex-wrap: wrap; gap: 30px;
    align-items: center; justify-content: space-between;
}
.ksm-cta-copy { max-width: 680px; }
.ksm-cta-copy .section-title { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.ksm-cta-copy p { color: #b9b9b9; margin: 0; line-height: 1.7; }
.ksm-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------- articles */
.ksm-article-body { font-size: 17px; line-height: 1.8; color: var(--ksm-ink); }
.ksm-article-body h2 {
    font-size: clamp(23px, 3vw, 30px);
    margin: 42px 0 16px;
    padding-top: 8px;
    color: var(--ksm-dark);
}
.ksm-article-body h3 { font-size: clamp(19px, 2.4vw, 23px); margin: 30px 0 12px; color: var(--ksm-dark); }
.ksm-article-body p { margin-bottom: 18px; }
.ksm-article-body ul,
.ksm-article-body ol { margin: 0 0 22px; padding-left: 22px; }
.ksm-article-body li { margin-bottom: 10px; }
.ksm-article-body a { color: var(--ksm-red); text-decoration: underline; text-underline-offset: 3px; }
.ksm-article-body a:hover { color: var(--ksm-dark); }
.ksm-article-body strong { color: var(--ksm-dark); }
.ksm-article-body blockquote {
    border-left: 4px solid var(--ksm-red);
    background: var(--ksm-bg-soft);
    padding: 20px 24px; margin: 26px 0;
    font-style: italic;
}
.ksm-article-body .lead { font-size: 19px; color: var(--ksm-ink); }
.ksm-article-body img { max-width: 100%; height: auto; border-radius: var(--ksm-radius); }
.ksm-article-body table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.ksm-article-body th,
.ksm-article-body td { border: 1px solid var(--ksm-line); padding: 10px 12px; text-align: left; }

.ksm-article-meta {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    font-size: 14px; color: var(--ksm-muted);
    padding-bottom: 20px; margin-bottom: 26px;
    border-bottom: 1px solid var(--ksm-line);
}
.ksm-article-meta i { color: var(--ksm-red); margin-right: 6px; }

.ksm-hero-figure { margin: 0 0 30px; }
.ksm-hero-figure img { width: 100%; height: auto; border-radius: var(--ksm-radius); }
.ksm-hero-figure figcaption { font-size: 13.5px; color: var(--ksm-muted); margin-top: 10px; font-style: italic; }

.ksm-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.ksm-tag {
    background: var(--ksm-bg-soft); border: 1px solid var(--ksm-line);
    border-radius: 40px; padding: 7px 16px;
    font-size: 13px; color: var(--ksm-muted); text-decoration: none;
}
.ksm-tag:hover { background: var(--ksm-red); color: #fff; border-color: var(--ksm-red); }

.ksm-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.ksm-share span { font-weight: 700; color: var(--ksm-dark); }
.ksm-share a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--ksm-bg-soft); color: var(--ksm-dark); text-decoration: none;
}
.ksm-share a:hover { background: var(--ksm-red); color: #fff; }

/* ---------------------------------------------------------------- sidebar */
.ksm-sidebar { position: sticky; top: 100px; }
.ksm-widget {
    background: #fff; border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius); padding: 26px 24px; margin-bottom: 26px;
}
.ksm-widget-title {
    font-size: 18px; color: var(--ksm-dark);
    margin: 0 0 18px; padding-bottom: 14px;
    border-bottom: 2px solid var(--ksm-line); position: relative;
}
.ksm-widget-title::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 50px; height: 2px; background: var(--ksm-red);
}
.ksm-widget ul { list-style: none; margin: 0; padding: 0; }
.ksm-widget ul li { border-bottom: 1px dashed var(--ksm-line); }
.ksm-widget ul li:last-child { border-bottom: 0; }
.ksm-widget ul li a {
    display: block; padding: 11px 0; color: var(--ksm-ink);
    text-decoration: none; font-size: 15px;
}
.ksm-widget ul li a:hover { color: var(--ksm-red); padding-left: 6px; }
.ksm-widget-post { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--ksm-line); }
.ksm-widget-post:last-child { border-bottom: 0; }
.ksm-widget-post img { width: 78px; height: 62px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ksm-widget-post a { color: var(--ksm-dark); text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.ksm-widget-post a:hover { color: var(--ksm-red); }
.ksm-widget-post time { display: block; font-size: 12.5px; color: var(--ksm-muted); margin-top: 5px; }

.ksm-cta-widget { background: var(--ksm-dark); border-color: var(--ksm-dark); color: #fff; text-align: center; }
.ksm-cta-widget h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.ksm-cta-widget p { color: #b6b6b6; font-size: 14.5px; line-height: 1.65; }
.ksm-cta-widget .more-btn { margin-top: 8px; }

/* ------------------------------------------------------------------ forms */
.ksm-form { background: #fff; border: 1px solid var(--ksm-line); border-radius: var(--ksm-radius); padding: 34px 30px; }
.ksm-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ksm-form-grid .ksm-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .ksm-form-grid { grid-template-columns: 1fr; } }

.ksm-field label {
    display: block; font-weight: 700; font-size: 14px;
    color: var(--ksm-dark); margin-bottom: 7px;
}
.ksm-field .req { color: var(--ksm-red); }
.ksm-field input,
.ksm-field select,
.ksm-field textarea {
    width: 100%;
    border: 1px solid var(--ksm-line);
    border-radius: 6px;
    padding: 13px 15px;
    font-size: 15px;
    font-family: inherit;
    color: var(--ksm-ink);
    background: #fff;
    transition: border-color .2s ease;
}
.ksm-field input:focus,
.ksm-field select:focus,
.ksm-field textarea:focus { border-color: var(--ksm-red); outline: none; }
.ksm-field textarea { min-height: 140px; resize: vertical; }
.ksm-field-hint { font-size: 13px; color: var(--ksm-muted); margin: 6px 0 0; }

.ksm-submit {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--ksm-red); color: #fff;
    border: 0; border-radius: 6px;
    padding: 15px 34px;
    font-weight: 800; font-size: 15px;
    text-transform: uppercase; letter-spacing: .6px;
    cursor: pointer; transition: background .25s ease;
}
.ksm-submit:hover { background: var(--ksm-dark); }
.ksm-submit[disabled] { opacity: .6; cursor: not-allowed; }
.ksm-form-note { font-size: 13px; color: var(--ksm-muted); margin: 14px 0 0; }
.ksm-form-note a { color: var(--ksm-red); }

.cf-turnstile { margin: 18px 0; }

.ksm-alert {
    border-radius: 6px; padding: 15px 18px; margin-bottom: 22px;
    font-size: 15px; line-height: 1.6; border-left: 4px solid;
}
.ksm-alert-success { background: #edf9f0; border-color: #2e9e4f; color: #1c6b34; }
.ksm-alert-error   { background: #fdeeee; border-color: var(--ksm-red); color: #a3161c; }
.ksm-alert-info    { background: #eef4fd; border-color: #2b6cb0; color: #234e7d; }

/* newsletter form in footer band */
.ksm-newsletter-form .cf-turnstile { margin: 14px 0; }

/* --------------------------------------------------------------- contact */
.ksm-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.ksm-contact-card {
    background: #fff; border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius); padding: 30px 26px; text-align: center;
}
.ksm-contact-card i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; margin-bottom: 16px;
    background: var(--ksm-red); color: #fff; border-radius: 50%; font-size: 22px;
}
.ksm-contact-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--ksm-dark); }
.ksm-contact-card a { color: var(--ksm-ink); text-decoration: none; display: block; line-height: 1.7; }
.ksm-contact-card a:hover { color: var(--ksm-red); }
.ksm-contact-card address { font-style: normal; color: var(--ksm-muted); line-height: 1.7; margin: 0; }

.ksm-map { border-radius: var(--ksm-radius); overflow: hidden; border: 1px solid var(--ksm-line); }
.ksm-map iframe { display: block; width: 100%; height: 420px; border: 0; }

.ksm-address { font-style: normal; display: inline; }

/* --------------------------------------------------------------- gallery */
.ksm-gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.ksm-filter-btn {
    background: #fff; border: 1px solid var(--ksm-line);
    border-radius: 40px; padding: 10px 24px;
    font-weight: 700; font-size: 14px; color: var(--ksm-dark);
    cursor: pointer; text-transform: uppercase; letter-spacing: .4px;
    transition: all .2s ease;
}
.ksm-filter-btn:hover,
.ksm-filter-btn.is-active { background: var(--ksm-red); border-color: var(--ksm-red); color: #fff; }

.ksm-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.ksm-gallery-item {
    position: relative; border-radius: var(--ksm-radius);
    overflow: hidden; aspect-ratio: 4 / 3; background: var(--ksm-bg-soft);
}
.ksm-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ksm-gallery-item:hover img { transform: scale(1.07); }
.ksm-gallery-caption {
    position: absolute; inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(9, 9, 11, .92));
    color: #fff; padding: 44px 20px 18px;
}
.ksm-gallery-caption h3 { font-size: 17px; margin: 0 0 5px; color: #fff; }
.ksm-gallery-caption p { font-size: 13.5px; margin: 0; color: #cfcfcf; line-height: 1.55; }

/* ----------------------------------------------------------------- team */
.ksm-team-card {
    background: #fff; border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius); overflow: hidden;
    margin-bottom: 30px; height: calc(100% - 30px);
}
.ksm-team-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ksm-bg-soft); }
.ksm-team-media img { width: 100%; height: 100%; object-fit: cover; }
.ksm-team-body { padding: 24px; }
.ksm-team-body h3 { font-size: 20px; margin-bottom: 4px; color: var(--ksm-dark); }
.ksm-team-role { color: var(--ksm-red); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.ksm-team-body p { color: var(--ksm-muted); font-size: 15px; line-height: 1.7; margin: 14px 0 0; }

/* ---------------------------------------------------------------- events */
.ksm-event-meta { display: flex; flex-wrap: wrap; gap: 22px; }
.ksm-event-fact { text-align: center; min-width: 96px; }
.ksm-fact-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--ksm-muted); }
.ksm-fact-value { display: block; font-weight: 700; font-size: 14.5px; color: var(--ksm-dark); margin-top: 4px; }
.ksm-countdown-cta {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--ksm-red); color: #fff; font-size: 18px;
}
.ksm-countdown-cta:hover { background: #fff; color: var(--ksm-red); }

.ksm-event-card {
    background: #fff; border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius); overflow: hidden;
    margin-bottom: 30px; height: calc(100% - 30px);
    display: flex; flex-direction: column;
}
.ksm-event-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ksm-event-media img { width: 100%; height: 100%; object-fit: cover; }
.ksm-event-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--ksm-red); color: #fff;
    padding: 7px 14px; border-radius: 4px;
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
}
.ksm-event-badge.is-past { background: #6b6b6b; }
.ksm-event-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ksm-event-date { color: var(--ksm-red); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .5px; }
.ksm-event-body h3 { font-size: 20px; line-height: 1.35; margin: 8px 0 10px; }
.ksm-event-body h3 a { color: var(--ksm-dark); text-decoration: none; }
.ksm-event-body h3 a:hover { color: var(--ksm-red); }
.ksm-event-body p { color: var(--ksm-muted); font-size: 15px; line-height: 1.65; flex: 1; }
.ksm-event-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ksm-event-facts span {
    background: var(--ksm-bg-soft); border-radius: 4px;
    padding: 6px 12px; font-size: 12.5px; color: var(--ksm-muted);
}

.ksm-detail-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.ksm-detail-table th,
.ksm-detail-table td { padding: 13px 0; border-bottom: 1px solid var(--ksm-line); text-align: left; font-size: 15px; }
.ksm-detail-table th { width: 38%; color: var(--ksm-muted); font-weight: 600; }
.ksm-detail-table td { color: var(--ksm-dark); font-weight: 600; }

/* ------------------------------------------------------------- pagination */
.ksm-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 46px; }
.ksm-pagination a,
.ksm-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 46px; height: 46px; padding: 0 14px;
    border: 1px solid var(--ksm-line); border-radius: 6px;
    color: var(--ksm-dark); text-decoration: none; font-weight: 700;
}
.ksm-pagination a:hover { background: var(--ksm-red); border-color: var(--ksm-red); color: #fff; }
.ksm-pagination .is-current { background: var(--ksm-dark); border-color: var(--ksm-dark); color: #fff; }

/* --------------------------------------------------------------- utility */
.ksm-section-soft { background: var(--ksm-bg-soft); }
.ksm-prose-narrow { max-width: 860px; margin: 0 auto; }
.ksm-note-box {
    background: #fff8e6; border-left: 4px solid #f0a500;
    padding: 18px 22px; border-radius: 6px; margin: 24px 0;
    font-size: 15px; line-height: 1.7;
}

/* --------------------------------------------------- floating call/whatsapp */
.ksm-floating-actions {
    position: fixed; right: 18px; bottom: 18px;
    display: flex; flex-direction: column; gap: 12px; z-index: 999;
}
/* The template's own scroll-to-top button is a second, independent
   fixed-position element (bottom:30px; right:30px) that was never
   coordinated with these two — their vertical ranges overlapped and their
   right-offsets didn't match, so on mobile especially they visually
   collided instead of forming one clean stack. Re-anchored to sit directly
   above this stack, same right-edge, with a clear gap. */
.scroll-top-btn {
    bottom: 150px !important;
    right: 18px !important;
}
.ksm-float {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    color: #fff; font-size: 22px; text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
    transition: transform .2s ease;
}
.ksm-float:hover { transform: scale(1.08); color: #fff; }
.ksm-float-call { background: var(--ksm-red); }
.ksm-float-wa { background: #25d366; }
@media (max-width: 575px) {
    .ksm-floating-actions { bottom: 14px; right: 12px; }
    .scroll-top-btn { bottom: 142px !important; right: 12px !important; }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 991px) {
    .ksm-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .ksm-sidebar { position: static; margin-top: 44px; }
    .ksm-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
    .ksm-stat-grid { grid-template-columns: 1fr; }
    .ksm-gallery-grid { grid-template-columns: 1fr; }
    .ksm-form { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------------------- print */
@media print {
    .ksm-topbar, header, .ksm-floating-actions, .scroll-top-btn,
    .rts-newsletter-section, .footer, .ksm-cta-band { display: none !important; }
    .ksm-article-body { font-size: 12pt; }
}

/* =========================================================================
   ROUNDED CORNERS — GLOBAL
   The template mixes rounded (.more-btn, cards) and sharp (.banner-btn hero
   buttons, blog/gallery thumbnails, sponsor logos, avatars) corners. Rounding
   every remaining square edge for a single, friendlier, consistent language
   site-wide — full-bleed edge-to-edge bands (header, footer, hero, newsletter,
   CTA band) are left flush, which is the correct treatment for a section with
   no visible edge of its own to round.
   ========================================================================= */
.banner-content .banner-btn-area .banner-btn,
.banner-content .banner-btn-area .banner-btn.team-btn,
.banner-content .banner-btn-area .banner-btn.nxt-match-btn,
.button-area .btn-1, .button-area .btn-2 {
    border-radius: var(--ksm-radius-sm);
    overflow: hidden;
}
.blog-picture, .blog-picture img,
.gallery-picture img, .gallery-picture1 img,
.player-card, .player-card .image, .player-card .image img,
.sponsors-logo, .about-thumb .img1, .about-thumb .img2,
.hero-image img, .product-thumb, .club-logo img,
.a-login-box, .a-panel, .a-stat, .a-brand img {
    border-radius: var(--ksm-radius-sm);
    overflow: hidden;
}
.gallery-picture, .gallery-picture1 { border-radius: var(--ksm-radius-sm); }
table.a-table { border-radius: var(--ksm-radius-sm); overflow: hidden; }
.cf-turnstile iframe { border-radius: var(--ksm-radius-sm); }
/* Generic content <img> default. Kept as a bare, lowest-specificity element
   selector on purpose: every circular badge/icon/pagination-dot elsewhere in
   this file is styled via a class selector, which always outranks this rule
   regardless of source order, so it can never round a circle back to a box. */
img { border-radius: 4px; height: auto; max-width: 100%; }

/* =========================================================================
   MOBILE MENU (slide-bar)
   The template ships the dark full-screen ".anywere-home" backdrop that dims
   the page behind an open drawer, but never gives the drawer panel itself
   (".slide-bar") a background, and has no styling at all for the nav list
   inside it (no ".rts-mobile-menu"/"metismenu" rules exist anywhere in
   main.css). With the sitewide default `a, span { color:#111111 }` and no
   panel background, every link renders near-black directly over that dark
   backdrop — invisible. Supplying the missing panel chrome, in the same
   light/red/black palette as the rest of the site.
   ========================================================================= */
.slide-bar {
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
    z-index: 999;
}
.offset-widget.offset-logo { padding-top: 50px; padding-bottom: 20px; }
.rts-mobile-menu .metismenu,
.rts-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.rts-mobile-menu li { border-bottom: 1px solid var(--ksm-line); }
.rts-mobile-menu > .metismenu > li:first-child { border-top: 1px solid var(--ksm-line); }
.rts-mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    color: var(--ksm-dark) !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.rts-mobile-menu a:hover { color: var(--ksm-red) !important; }
.rts-mobile-menu .sub-menu {
    display: none;
    padding-left: 14px;
    margin-bottom: 8px;
}
.rts-mobile-menu .sub-menu.in,
.rts-mobile-menu .sub-menu.mm-show { display: block; }
.rts-mobile-menu .sub-menu li { border-bottom: 0; }
.rts-mobile-menu .sub-menu a {
    padding: 9px 4px;
    font-weight: 500;
    text-transform: none;
    font-size: 13.5px;
    color: var(--ksm-muted) !important;
}
.rts-mobile-menu .has-dropdown > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 14px;
    color: var(--ksm-muted);
}
.ksm-side-contact { padding-bottom: 30px; }
.ksm-side-contact .footer-widget-title { color: var(--ksm-dark); }
.ksm-side-contact ul { list-style: none; padding: 0; margin: 0; }
.ksm-side-contact .widget-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--ksm-ink);
    font-size: 14px;
    line-height: 1.5;
}
.ksm-side-contact .widget-list-item i { color: var(--ksm-red); margin-top: 3px; width: 16px; flex-shrink: 0; }
.ksm-side-contact .widget-list-item a { color: var(--ksm-ink) !important; font-weight: 500; }
.ksm-side-contact .widget-list-item a:hover { color: var(--ksm-red) !important; }
.ksm-side-contact .social-links .platform {
    background: var(--ksm-bg-soft);
    color: var(--ksm-dark);
}
.ksm-side-contact .social-links .platform:hover { background: var(--ksm-red); color: #fff; }

/* =========================================================================
   PARTNER LOGO MARQUEE
   Real client/partner logos vary wildly in native pixel size and aspect
   ratio (a wide wordmark vs. a square mark) — unlike the template's own
   placeholder set, which was pre-sized to match. Constraining by height only
   (never forcing width) is what prevents the exact stretch/squash distortion
   found earlier on the site logo, applied here pre-emptively.
   ========================================================================= */
.rts-sponsors-section .sponsors-logo img {
    max-height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(35%);
}
.rts-sponsors-section .sponsor-single:hover .sponsors-logo img { filter: grayscale(0%); }
.ksm-logo-disclaimer {
    text-align: center;
    font-size: 12.5px;
    color: var(--ksm-muted);
    margin: 22px 0 0;
}

/* =========================================================================
   CRITICAL: .more-btn has no background color in its default state —
   only `color:#fff` and a near-white border, with `background:#111111`
   appearing solely on :hover. On the template's original dark demo sections
   that read as a ghost/outline button; on our light-mode pages (nearly every
   page, per the earlier `.rts-about-section.about` fix) white-on-white makes
   it invisible until hovered. This is our primary CTA class, used 19 times
   site-wide, so this single fix is the highest-impact one here.
   ========================================================================= */
.more-btn:not(.more-btn-ghost) {
    background: var(--ksm-dark) !important;
    border: 1px solid var(--ksm-dark) !important;
}
.more-btn:not(.more-btn-ghost):hover {
    background: var(--ksm-red) !important;
    border-color: var(--ksm-red) !important;
}

/* .footer .cata-widget is a masonry-style flex column layout capped at a
   fixed 230px height, built for the template's own short single-line demo
   labels. Several of our real service names wrap to two lines, so the list
   overflows that cap and wraps into a second sub-column that spills into the
   next footer widget — the footer text-overlap bug. Keeping every visual
   touch (bullet dot, padding, font) from .cata-widget's own item styling;
   only killing the two properties that caused the column-wrap overflow. */
.footer .cata-widget {
    max-height: none !important;
    flex-wrap: nowrap !important;
}

/* Header logo visibility: the mark's ink (navy K/M, red S) has almost no
   contrast against the dark header background — verified near-black RGB on
   the actual file. None of the supplied logo variants have a light/white
   version. A small white knockout circle behind the mark keeps every brand
   colour intact while guaranteeing contrast on the dark header specifically;
   admin, footer and email contexts already sit on white and are untouched. */
/* NOTE: deliberately does not set `display` — the template toggles
   .logo/.logo-sticky between display:none and visible on scroll (sticky
   header swap), and an earlier version of this rule set display:inline-flex
   unconditionally, which defeated that toggle and showed both logos stacked
   side by side at all times. Padding + line-height centre the image inside
   the circle without touching display, so the swap keeps working. */
#rtsHeader .logo, #rtsHeader .logo-sticky, .offset-logo a {
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    line-height: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

/* Topbar breathing room — contact links were sitting almost flush against
   the nav bar below with no vertical padding to speak of. */
.ksm-topbar { padding: 12px 0; }
.ksm-topbar-inner { gap: 10px 28px; }

/* Newsletter section: the template positions its own hero image absolutely
   (`top:-30%; transform:scale(1.17)`) with no left/right bound, calibrated
   for a specific tightly-cropped original asset. With our wider action photo
   that scale-and-shift pushes the image over the newsletter card's edge —
   the overlap seen in review. Bringing the image back into normal flow,
   contained and rounded, is robust regardless of whichever photo is used. */
.rts-newsletter-section .hero-image {
    position: static;
    transform: none;
    height: 100%;
    min-height: 320px;
    border-radius: var(--ksm-radius);
    overflow: hidden;
}
.rts-newsletter-section .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--ksm-radius);
}
@media (max-width: 991px) {
    .rts-newsletter-section .hero-image { min-height: 240px; margin-top: 30px; }
}

/* =========================================================================
   ROUNDED CORNERS — PASS 2
   The first pass covered cards, images and hero buttons; this closes the
   remaining flat-edged boxes actually in view: form fields, the newsletter
   card and its shape mask, footer logo chip, and the newsletter subscribe
   button, which the template ships perfectly square (border-radius:0).
   ========================================================================= */
.rts-newsletter-section .newsletter-box,
.rts-newsletter-section .newsletter-box .shape {
    border-radius: var(--ksm-radius);
}
.rts-newsletter-section .newsletter-box form .form input {
    border-radius: var(--ksm-radius-sm) !important;
}
.rts-newsletter-section .newsletter-box form .button .btn {
    border-radius: var(--ksm-radius-sm);
}
.footer-logo img { border-radius: 50%; }
.a-login-box, .a-panel, .a-stat, table.a-table, .a-field input, .a-field select, .a-field textarea {
    border-radius: var(--ksm-radius-sm);
}

/* =========================================================================
   MOBILE FIXES
   ========================================================================= */

/* Purely decorative background shapes (empty alt="") are sized for a wide
   desktop canvas where they read as a subtle accent in a corner. On a narrow
   phone viewport the same fixed pixel size occupies a third of the screen
   width, reading as a dominant black blob instead of a background detail —
   hidden below tablet width, where they add nothing but noise. */
@media (max-width: 767px) {
    .rts-about-section .shape1,
    .rts-about-section .shape2,
    .rts-newsletter-section .newsletter-box .shape { display: none; }
}

/* =========================================================================
   ROUND 3 FIXES
   ========================================================================= */

/* --- Header island: rounded, floating, with breathing room -------------- */
#rtsHeader.rts-header1 .navbar-part .navbar-inner {
    border-radius: var(--ksm-radius);
    padding: 0 22px;
}
#rtsHeader.rts-header1 .sticky-menu .navbar-part .navbar-inner {
    border-radius: 0;
}
.header-action-items1 { gap: 14px; }
/* The template reserves room for the hamburger at all widths; above 900px it
   is hidden, so that reserved gap became dead space beside the CTA. Only
   apply the separating margin at widths where it is actually visible. */
@media (max-width: 900px) {
    #rtsHeader .hamburger-menu { margin-left: 18px; }
}

/* --- Footer legibility --------------------------------------------------
   The template paints footer body copy #888888 on a #111 panel — the postal
   address in particular disappeared into the background. Lifting every
   footer text token to white, as requested globally. */
.footer .footer-text,
.footer .widget-list-item,
.footer .widget-list-item a,
.footer .widget-list-item span,
.footer .address-widget .widget-list-item a,
.footer .address-widget .widget-list-item span,
.footer .ksm-address,
.footer .copyright,
.footer .footer-bottom-links a,
.footer .cata-widget .widget-list-item a {
    color: #ffffff !important;
}
.footer .widget-list-item a:hover,
.footer .footer-bottom-links a:hover,
.footer .cata-widget .widget-list-item a:hover {
    color: var(--ksm-red) !important;
}
.footer .ksm-address { opacity: 1; }
/* Footer logo sits on a dark panel — the mark carries navy ink, so it needs
   the same white knockout treatment the header logo gets. */
.footer .footer-logo {
    display: inline-block;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    line-height: 0;
}

/* --- Newsletter block: readable, aligned, not overlapping --------------- */
.rts-newsletter-section .newsletter-box form {
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}
.rts-newsletter-section .newsletter-box form .form {
    width: auto;
    flex: 1 1 260px;
    min-width: 0;
}
.rts-newsletter-section .newsletter-box form .button { width: auto; flex: 0 0 auto; }
.rts-newsletter-section .newsletter-box form .button .btn {
    height: 100%;
    padding: 14px 28px;
    white-space: nowrap;
}
/* The consent line and the Turnstile widget were being squeezed into a
   narrow column beside the button because they sat in the same flex row —
   each gets its own full-width line instead. */
.ksm-newsletter-form .ksm-form-note { flex: 1 0 100%; margin: 4px 0 0; }
.ksm-newsletter-form .cf-turnstile { flex: 1 0 100%; }
.ksm-newsletter-form .ksm-alert { flex: 1 0 100%; }

/* --- Facility gallery: fill the frame, never letterbox ------------------ */
.ksm-gallery-item { display: block; }
.ksm-gallery-item picture,
.ksm-gallery-item a { display: block; width: 100%; height: 100%; }
.ksm-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- One continuous white page (no alternating grey bands) -------------- */
.ksm-section-soft { background: #ffffff; }
.rts-gallery-section, .rts-next-match-section, .rts-team-section,
.rts-blog-section, .rts-sponsors-section, .rts-about-section.about {
    background: #ffffff;
}

/* --- Premium watermark behind section headings --------------------------
   Restores the large ghost-text look from the template that reads as
   premium, but as a separate decorative layer injected by ksm.js rather
   than by hijacking the .pretitle element — so the small red eyebrow label
   stays readable and stays in the DOM for SEO, while the watermark sits
   behind it. aria-hidden and pointer-events:none in the JS/CSS so it is
   invisible to assistive tech and never intercepts a click, and nowrap +
   clamp keep it from reproducing the original overlap bug. */
.section-title-area { position: relative; }
.ksm-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -62%);
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(46px, 8vw, 130px);
    line-height: 1;
    white-space: nowrap;
    color: rgba(17, 17, 17, .05);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.section-title-area .pretitle,
.section-title-area .section-title,
.section-title-area p { position: relative; z-index: 1; }
.section-title-area.text-start .ksm-watermark { left: 0; transform: translate(0, -62%); }
@media (max-width: 767px) { .ksm-watermark { display: none; } }

/* --- Fixture list (upcoming events) ------------------------------------- */
.ksm-fixture-list { list-style: none; padding: 0; margin: 0; }
.ksm-fixture-list .table-inner {
    display: grid;
    grid-template-columns: 220px minmax(0, 1.4fr) minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius);
    padding: 18px;
    margin-bottom: 18px;
    transition: box-shadow .3s ease, border-color .3s ease;
}
.ksm-fixture-list .table-inner:hover {
    border-color: var(--ksm-red);
    box-shadow: var(--ksm-shadow);
}
.ksm-fixture-media {
    position: relative;
    border-radius: var(--ksm-radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 11;
}
.ksm-fixture-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ksm-fixture-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--ksm-red); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .5px;
    text-transform: uppercase; padding: 5px 11px; border-radius: 4px;
}
.ksm-fixture-badge.is-soon { background: #6b6b6b; }
.ksm-fixture-name .mode {
    color: var(--ksm-red); font-weight: 700; font-size: 12.5px;
    text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px;
}
.ksm-fixture-name .name { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.ksm-fixture-name .name a { color: var(--ksm-dark); }
.ksm-fixture-name .name a:hover { color: var(--ksm-red); }
.ksm-fixture-name .time {
    color: var(--ksm-muted); font-size: 13.5px;
    display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0;
}
.ksm-fixture-name .time i { color: var(--ksm-red); margin-right: 5px; }
.ksm-fixture-facts { display: grid; gap: 10px; }
.ksm-fixture-facts .ksm-event-fact { text-align: left; min-width: 0; }
.ksm-fixture-actions { display: grid; gap: 10px; }
.ksm-fixture-actions .btn-1,
.ksm-fixture-actions .btn-2 { width: 150px; margin: 0 !important; }
@media (max-width: 1100px) {
    .ksm-fixture-list .table-inner { grid-template-columns: 180px minmax(0, 1fr); }
    .ksm-fixture-facts { grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; }
    .ksm-fixture-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 200px)); }
}
@media (max-width: 640px) {
    .ksm-fixture-list .table-inner { grid-template-columns: 1fr; }
    .ksm-fixture-facts { grid-template-columns: 1fr; }
    .ksm-fixture-actions { grid-template-columns: 1fr; }
    .ksm-fixture-actions .btn-1, .ksm-fixture-actions .btn-2 { width: 100%; }
}

/* --- Bigger, more premium news cards ------------------------------------ */
.rts-blog-section .blog-item {
    background: #fff;
    border: 1px solid var(--ksm-line);
    border-radius: var(--ksm-radius);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.rts-blog-section .blog-item:hover { transform: translateY(-6px); box-shadow: var(--ksm-shadow); }
.rts-blog-section .blog-item .blog-picture { aspect-ratio: 16 / 10; overflow: hidden; }
.rts-blog-section .blog-item .blog-picture img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.rts-blog-section .blog-item:hover .blog-picture img { transform: scale(1.06); }
.rts-blog-section .blog-item .contents-wrapper { padding: 26px 24px 24px; }
.ksm-blog-title { font-size: 20px; line-height: 1.35; margin: 10px 0 0; }
.ksm-blog-title a { color: var(--ksm-dark); }
.ksm-blog-title a:hover { color: var(--ksm-red); }
.rts-blog-section .blog-catagory {
    display: inline-block; background: rgba(228, 27, 35, .1);
    color: var(--ksm-red); font-size: 11.5px; font-weight: 800;
    letter-spacing: .6px; padding: 5px 12px; border-radius: 4px;
}
.rts-blog-section .author-info { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ksm-line); }
.ksm-readtime { color: var(--ksm-muted); font-size: 13px; }
.rts-blog-section .blog-date { display: flex; gap: 12px; align-items: center; }
.rts-blog-section .blog-date .date { color: var(--ksm-muted); font-size: 13px; }

/* --- Team cards: jersey number badge, template CLUB MEMBERS feel -------- */
.ksm-team-card .ksm-team-media { position: relative; background: var(--ksm-bg-soft); }
.ksm-team-jersey {
    position: absolute; top: 14px; right: 14px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--ksm-red); color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 16px;
}

/* --- Testimonial media (uploaded photo / video from admin) -------------- */
.ksm-quote-media {
    border-radius: var(--ksm-radius-sm);
    overflow: hidden;
    margin-bottom: 18px;
    aspect-ratio: 16 / 9;
    background: var(--ksm-bg-soft);
}
.ksm-quote-media img,
.ksm-quote-media iframe,
.ksm-quote-media video {
    width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}
.ksm-quote-avatar {
    width: 54px; height: 54px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
}
.ksm-quote-person { display: flex; align-items: center; gap: 14px; }

/* --- Cookie consent bar -------------------------------------------------- */
.ksm-cookie {
    position: fixed;
    left: 18px; right: 18px; bottom: 18px;
    z-index: 1200;
    background: var(--ksm-dark);
    color: #e9e9e9;
    border-radius: var(--ksm-radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    padding: 18px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    max-width: 1080px;
    margin: 0 auto;
}
.ksm-cookie[hidden] { display: none; }
.ksm-cookie p { margin: 0; font-size: 14px; line-height: 1.6; flex: 1 1 340px; }
.ksm-cookie a { color: #fff; text-decoration: underline; }
.ksm-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ksm-cookie-btn {
    border: 0; cursor: pointer;
    padding: 11px 22px; border-radius: var(--ksm-radius-sm);
    font-weight: 700; font-size: 13.5px; letter-spacing: .4px;
    text-transform: uppercase;
}
.ksm-cookie-accept { background: var(--ksm-red); color: #fff; }
.ksm-cookie-accept:hover { background: #fff; color: var(--ksm-dark); }
.ksm-cookie-decline { background: transparent; color: #cfcfcf; border: 1px solid #444; }
.ksm-cookie-decline:hover { border-color: #fff; color: #fff; }
.ksm-cookie-stamp { flex: 1 0 100%; font-size: 11.5px; color: #8f8f8f; margin: 0; }
@media (max-width: 575px) {
    .ksm-cookie { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
    .ksm-cookie-actions { width: 100%; }
    .ksm-cookie-btn { flex: 1; }
}
