/* Site fixes added during the static clean-up. The theme's own styles are untouched. */

/* Home page: full-height slideshow (was an inline theme option on the home page only). */
html.is-home { position: absolute; height: 100%; width: 100%; min-height: 100%; min-width: 100%; }

/* The home title is now a real <h1> and the caption a <p>; keep them looking exactly as before. */
h1.static_slideshow_title { font-family: 'Allura'; font-style: italic; font-weight: normal; text-transform: none; }
p.static_slideshow_caption { display: inline-block; }

/* Skip link and keyboard focus */
.kks-skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: #000; padding: 10px 16px; font-size: 14px; }
.kks-skip-link:focus { left: 8px; top: 8px; }
a:focus-visible, [role="button"]:focus-visible, button:focus-visible { outline: 2px solid #eb0488; outline-offset: 2px; }
.mobile-menu-icon, .menu-toggle, .social-toggle { cursor: pointer; }

/* Deep-linked sections stop below the header */
[id] { scroll-margin-top: 110px; }

/* Media never overflows its column */
.entry-content img, .post-format-media img { max-width: 100%; height: auto; }

/* Contact: e-mail and phone keep the body text colour, as on the original page */
.entry-content a.kks-plain-link { color: inherit; }
.entry-content h2.kks-h4 { font-size: 18px; line-height: 26px; letter-spacing: -0.5px; margin-bottom: 15px; }
.column2.kks-col-last { float: right; }
.entry-content .alignleft { margin-bottom: 10px; }

/* Header social links (the share icon was empty before) */
.kks-header-social ul li.social-icon { border-left: 0; width: 24px; height: 24px; line-height: 24px; margin-left: 8px; }
.kks-header-social ul li.social-icon a { color: #fff; }
.kks-header-social ul li.social-icon a:hover { color: #eb0488; }

/* Awards list */
.entry-content .kks-awards ul { margin-left: 0; }
.entry-content .kks-awards li { margin-bottom: 14px; list-style: none; }
.entry-content .kks-awards .fa { width: 18px; text-align: center; }

/* Media and Blog listings */
.kks-post-card { margin-bottom: 50px; }
.kks-post-card .post-format-media { margin-bottom: 20px; }
.kks-post-card .entry-post-title h2 { font-size: 24px; line-height: 32px; letter-spacing: -0.5px; margin-bottom: 10px; }
.kks-post-card .entry-post-title h2 a { color: #000; }
.kks-post-card .postsummary-spacing { padding-top: 0; }
.kks-post-card .blogpost_readmore { margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; }
.kks-post-card .postsummarywrap.kks-nometa { padding-bottom: 10px; }
.post-single-tags .kks-tag { padding: 1px 10px; }
.kks-widget-more { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-top: 15px; }

/* Video: thumbnail first, YouTube loads only after a click */
.kks-video { position: relative; margin: 0 0 20px; background: #000; }
.kks-video-link { display: block; position: relative; }
.kks-video img { display: block; width: 100%; height: auto; }
.kks-video-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(235, 4, 136, 0.92); color: #fff; font-size: 26px; line-height: 72px; text-align: center; transition: transform 0.2s ease-out; }
.kks-video-play .fa { margin-left: 5px; }
.kks-video-link:hover .kks-video-play { transform: scale(1.05); }
.kks-video-frame { position: relative; padding-bottom: 56.25%; height: 0; }
.kks-video-frame iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }

/* Events (static replacement for the EventON calendar) */
.kks-events .kks-event { display: flex; gap: 20px; align-items: flex-start; padding: 16px 20px; margin-bottom: 6px; background: #f1f1f1; border-left: 4px solid #eb0488; }
.kks-events .kks-event-date { flex: 0 0 64px; text-align: center; text-transform: uppercase; font-family: 'Poppins', 'Raleway', sans-serif; font-weight: 700; color: #202124; line-height: 1.1; }
.kks-events .kks-event-date b { display: block; font-size: 30px; }
.kks-events .kks-event-date span { font-size: 12px; letter-spacing: 1px; }
.kks-events .kks-event-title { display: block; font-family: 'Poppins', 'Raleway', sans-serif; font-weight: 700; font-size: 18px; color: #202124; line-height: 1.3; }
.kks-events .kks-event-meta { font-family: 'Noto Sans', arial, sans-serif; font-size: 13px; color: #656565; margin: 4px 0 0; }
.kks-events a.kks-event-title:hover { color: #eb0488; }
.evo_widget .kks-event { padding: 12px 14px; gap: 12px; }
.evo_widget .kks-event-date { flex-basis: 46px; }
.evo_widget .kks-event-date b { font-size: 22px; }
.evo_widget .kks-event-title { font-size: 15px; }

/* 404 */
.kks-404-links { margin-top: 20px; }

@media (max-width: 767px) {
  .column2.kks-col-last { float: none; }
  .kks-post-card .entry-post-title h2 { font-size: 20px; line-height: 28px; }
  .kks-events .kks-event { padding: 14px; gap: 14px; }
  /* comfortable tap targets in the slide-in menu */
  .responsive-mobile-menu ul.mobile-menu li a { min-height: 44px; box-sizing: border-box; }
  .mobile-menu-icon { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .kks-video-play { transition: none; }
  html { scroll-behavior: auto; }
}

/* Logos keep their proportions now that the images carry width/height attributes */
.logo-mobile img { width: auto; }
.logo img { height: auto; }

/* Listing links: whole image is tappable, "Continue reading" has a comfortable tap height */
.kks-post-card .postsummaryimage { display: block; }
.kks-post-card .blogpost_readmore a { display: inline-block; padding: 12px 0; }
.kks-post-card .blogpost_readmore { margin-top: 0; }

/* Home page copyright line, pinned to the foot of the full-screen slideshow */
#copyright.kks-home-copyright { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; margin: 0; padding: 10px 16px 12px; font-size: 9px; line-height: 1.8; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0)); }
@media (max-width: 767px) { #copyright.kks-home-copyright { font-size: 8px; letter-spacing: 2px; padding-bottom: 8px; } }
