/* ==========================================================================
   Bushido Karate Club – style.css (optimised)
   Every rule here is used by at least one page on bushidokarate.ie, or by
   the page JavaScript (nav/footer/FAQ accordions, YouTube embeds) or by
   calendar/news layouts the PHP can output.
   Breakpoints: ≤640 phone · 641–900 tablet · 901–1200 small desktop
   ========================================================================== */


/* ---------- 1. Base ------------------------------------------------------ */

* {
  font-size: 100%;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  border: 0;
  padding: 0;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  background: #c0c0c0;
  color: #1d1d1f;
  font: 300 1rem/1.52 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial,
        "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}

/* IMPORTANT: this rule sets the site's actual look. In the old file it was
   hidden inside ".error_container p, div" and applied to every div. Almost
   all text sits inside a div, so the site renders in Arial, grey (#565656)
   and centred. It is kept as-is so nothing changes visually. To switch the
   site to the system font in the body rule, delete the font-family line. */
div {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #565656;
  line-height: 1.5;
  text-align: center;
}

h1, h2, h3, h4 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
  color: #1d1d1f;
}
h1 { font-size: 2.75rem; line-height: 1.15; }
h2 { font-size: 2rem;    line-height: 1.2;  margin-bottom: 1em; }
h3 { font-size: 1.5rem;  line-height: 1.3;  margin-bottom: 1em; }
h4 { font-size: 1.25rem; line-height: 1.35; }

p  { margin: 0 0 1.125rem; }
ul { list-style: none; color: #565656; margin-top: -2px; }

a,
a:link,
a:visited,
a:active,
a:hover { color: #0071e3 !important; text-decoration: none; }

.subtitle {
  margin: 0 0 1em;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5rem !important;
  font-weight: 200;
  line-height: 1.5em;
  color: #6e6e73;
}

.hr-light { height: 1px; margin: 1.875rem 0; background: #d2d2d7; }
.spacer { height: 20px; }
.caption { margin: 10px; font-size: .8em; color: #000; text-align: center; }
.modified_date { width: 100%; font-size: .7em; color: #595959; text-align: left; }
.onehundred { display: block; width: 100%; height: auto; }


/* ---------- 2. Page layout ---------------------------------------------- */

.outer-container { position: absolute; display: table; width: 100%; }
.inner-container { display: table-cell; vertical-align: middle; }

.coverimage,
.coverimage img { display: block; width: 100%; height: auto; }
.coverimage img { aspect-ratio: 2000 / 264; }

.content       { width: 100%; background: #fff; }
.content_inner { float: left; width: 100%; background: #fff; }

.content_center {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  text-align: left;
}
/* Grey title panel at the top of each page */
.header_panel_container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: linear-gradient(#eaeaea, #fafafa);
}
.header_panel_center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}
.header_panel_title_100 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}


/* ---------- 3. Navigation ----------------------------------------------- */

#nav_row {
  position: relative;
  z-index: 9998;
  width: 100%;
  margin: 0;
  background: #363534;
  text-align: center !important;
}
#nav {
  position: relative;
  z-index: 9999;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  font-weight: 400;
  text-align: center !important;
}
#nav::after { content: ""; display: block; clear: both; }
#nav > a.nav-toggle { display: none !important; }
#nav > ul { height: 50px; margin: 0 !important; background: #363534; }
#nav li {
  position: relative;
  margin: 0;
  list-style: none;
  text-align: center !important;
}
#nav > ul > li { float: left; width: 25%; height: 100%; }
#nav > ul > li > button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: none;
  line-height: 50px;
  font-size: 1em !important;
  color: #fff !important;
  text-align: center !important;
  cursor: pointer;
}
#nav > ul > li:not(:last-child) > button { border-right: 1px solid #2c2b2b; }
#nav > ul > li:hover > button { background: #c59a40; }
#nav li ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10000;
  display: none;
  background: #646464;
  text-align: center !important;
}
#nav li.open > ul { display: block !important; }
#nav li ul a {
  display: block;
  padding: .75em;
  border-top: 1px solid #2c2b2b;
  font-size: 1em !important;
  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
}
#nav li ul li a:hover { background: #2c2b2b; }


/* ---------- 4. Top call-to-action bar (contact_top.php) ------------------ */

.contacttop_container {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 8px;
  background: #012040;
  text-align: center;
}
.contacttop_container a.contacttop_btn,
.contacttop_container a.contacttop_btn:link,
.contacttop_container a.contacttop_btn:visited,
.contacttop_container a.contacttop_btn:active {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 6px;
  background: #a30000;
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.2;
  text-align: center !important;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.contacttop_container a.contacttop_btn:hover,
.contacttop_container a.contacttop_btn:focus-visible { background: #fff; color: #a30000 !important; }
.contacttop_container a.contacttop_btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.contacttop_action { display: block; font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.contacttop_who { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; opacity: .92; }


/* ---------- 5. Shared card look ------------------------------------------ */

.safeguarding_item,
.safeguarding_h_item,
.membership_item,
.external_item,
.membershipprices_item,
.times_item,
.gallery,
.bushido_news_item,
.bushido_news_featured,
.bushido_news_featured2,
.bushido_news_featured3,
.bushido_news_featured4,
.bushido_news_square {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  text-align: center;
  transition: .25s;
}

.toc:hover,
.safeguarding_item:hover,
.safeguarding_h_item:hover,
.membership_item:hover,
.external_item:hover,
.membershipprices_item:hover,
.times_item:hover,
.gallery:hover,
.bushido_news_item:hover,
.bushido_news_featured:hover,
.bushido_news_featured2:hover,
.bushido_news_featured3:hover,
.bushido_news_featured4:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
  border-color: #bbb;
}

/* Grid wrappers */
.safeguarding_container,
.safeguarding_h_container,
.membership_table,
.membershipprices_container,
.times_container,
.bushido_news_container,
.external_container,
.gallery_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 2rem 0;
}
.external_container,
.gallery_container { margin: 20px 0; }

/* Bold card titles */
.safeguarding_item h2,
.safeguarding_item h3,
.safeguarding_h_item .text-column h3,
.membership_item h2,
.external_item h3,
.times_item h3 {
  margin: 8px 0 4px;
  font-size: 1em;
  font-weight: bold;
  color: #222;
  text-align: center;
}
.external_item h2,
.membershipprices_item h2 {
  margin: 8px 0 4px;
  font-size: 1.2em;
  font-weight: bold;
  color: #222;
  text-align: center;
}

/* Small grey card text */
.safeguarding_item p,
.external_item p,
.membershipprices_item p,
.times_item p {
  margin: 6px;
  font-size: .85em;
  color: #666;
  text-align: center;
}


/* ---------- 6. Table of contents (articles) ------------------------------ */

.toc {
  width: fit-content;
  max-width: 100%;
  margin: 20px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.toc h2 {
  margin: 0 0 1em;
  font-size: 1em;
  font-weight: bold;
  text-align: left !important;
}
.toc p { margin: 0; font-size: .9em; text-align: left !important; }
.toc a,
.toc a:link,
.toc a:visited,
.toc a:active,
.toc a:hover { font-size: .9em; text-align: left !important; }


/* ---------- 7. Safeguarding ---------------------------------------------- */

.safeguarding_item {
  flex: 0 0 calc(33% - 20px);
  max-width: calc(33% - 20px);
  padding: 5px;
  text-align: center !important;
}
.safeguarding_item img { width: 100%; height: auto; margin-bottom: 10px; border-radius: 4px; }
.safeguarding_item p { font-size: .85em !important; }
.safeguarding_item a,
.safeguarding_item a:link,
.safeguarding_item a:visited,
.safeguarding_item a:active,
.safeguarding_item a:hover { text-align: center !important; }

.safeguarding_h_item {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  display: flex;
  gap: 15px;
  padding: 12px;
}
.safeguarding_h_item .image-column { flex-shrink: 0; width: 20%; }
.safeguarding_h_item .image-column picture,
.safeguarding_h_item .image-column img { display: block; width: 100%; height: auto; border-radius: 4px; }
.safeguarding_h_item .text-column { width: 80%; }
.safeguarding_h_item .text-column p { margin: 0; font-size: .85em; line-height: 1.4; color: #666; }


/* ---------- 8. Calendar (homepage + calendar page) ----------------------- */

.scrolling-calendar {
  max-width: 100%;
  max-height: 400px;
  margin-bottom: 20px;
  padding: 0 20px 0 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  overflow: hidden auto;
}
.googlejsoncalendar_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 2rem;
  text-align: center !important;
}
.googlejsoncalendar_item,
.googlejsoncalendar_competition,
.googlejsoncalendar_bushido,
.googlejsoncalendar_seminar,
.googlejsoncalendar_squad {
  flex: 0 0 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: .25s;
}
.googlejsoncalendar_competition,
.googlejsoncalendar_bushido,
.googlejsoncalendar_seminar,
.googlejsoncalendar_squad { justify-content: center; }
.googlejsoncalendar_item { text-align: center !important; }
.googlejsoncalendar_competition { background: #b9c5bb; color: #fff; }
.googlejsoncalendar_bushido     { background: #fafafa; }
.googlejsoncalendar_seminar     { background: #d4d5d6; }
.googlejsoncalendar_squad       { background: #cfc1ae; }
.googlejsoncalendar_item .text-column { display: block; width: 100%; text-align: center !important; }

.googlecalendar_date {
  width: 100%;
  margin-bottom: 10px;
  padding-left: 25px;
  font-size: 1em;
  font-weight: bold;
  color: #000 !important;
  text-align: left !important;
}
.googlecalendar_row { display: flex; flex-wrap: nowrap; align-items: center; width: 100%; padding: 5px; }
.googlecalendar_time {
  flex: 0 0 10%;
  max-width: 10%;
  font-size: .9em;
  color: #000 !important;
  text-align: center !important;
}
.googlecalendar_stack {
  flex: 0 0 90%;
  max-width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.googlecalendar_title {
  flex: 0 0 50%;
  max-width: 50%;
  font-size: .9em;
  font-weight: 600;
  color: #000 !important;
  text-align: left !important;
}
.googlecalendar_location {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 5px;
  font-size: .8em;
  color: #000 !important;
  text-align: right !important;
}
.googlecalendar_details {
  width: 90%;
  margin-left: auto;
  padding: 0 5px;
  font-size: .8em;
  color: #000 !important;
  text-align: left !important;
}
.googlecalendar_hr { width: 100%; height: 1px; margin: 3px 0; background: #fff; }


/* ---------- 9. Membership & prices -------------------------------------- */

.membership_item {
  flex: 0 0 calc(25% - 20px);
  max-width: calc(25% - 20px);
  padding: 15px;
  border-radius: 8px;
  text-align: center !important;
}
.membership_item h3 { margin: 10px 0 16px; font-size: 5em; font-weight: bold; color: #222; }
.membership_item .plan_saving_wrap { text-align: center; }
.membership_item a,
.membership_item a:link,
.membership_item a:visited,
.membership_item a:active,
.membership_item a:hover { color: #666 !important; text-align: center !important; }

.plan_saving {
  display: inline-block;
  margin: 0 auto 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #e6f4ea;
  color: #1e7e34;
  font-size: .9em;
  font-weight: 600;
}

.tickrow { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.tick_icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #377f48;
  color: #fff;
  font-size: 16px;
}
.ticktext { font-size: .85em; line-height: 1.3em; color: #444; text-align: left; }

.trial_button {
  display: block;
  width: 80%;
  margin: 12px auto 0 !important;
  padding: 10px 18px;
  border: 1px solid #666;
  border-radius: 6px;
  background: #eee !important;
  color: #666 !important;
  font-size: 1em;
  font-weight: bold;
  text-align: center !important;
  transition: background .25s, transform .2s;
}
.trial_button:hover,
.trial_button:focus { transform: translateY(-2px); }
.trial_button:focus { outline: 3px solid #004c99; outline-offset: 2px; }

/* Square image frames (later card rules override these where both apply) */
.image-container { position: relative; width: 100%; margin-bottom: 10px; padding-top: 100%; }
.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: contain;
  object-position: top;
}

.membershipprices_item {
  flex: 0 0 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  display: flex;
  flex-direction: column;
  padding: 5px;
  border-radius: 8px;
}
.membershipprices_item img { display: block; width: 100%; height: auto; margin-bottom: 10px; border-radius: 4px; }


/* ---------- 10. Locations & times --------------------------------------- */

.times_item {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  padding: 5px;
  text-align: center !important;
}
.times_item h3,
.times_item p { text-align: center !important; }
.times_item a,
.times_item a:link,
.times_item a:visited,
.times_item a:active,
.times_item a:hover {
  margin: 8px 0 4px;
  font-size: 1em;
  font-weight: bold;
  text-align: center !important;
}


/* ---------- 11. External links / shop cards ----------------------------- */

.external_item {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 5px;
  border-radius: 8px;
}
.external_item a,
.external_item a:link,
.external_item a:visited,
.external_item a:active,
.external_item a:hover { color: #666 !important; }


/* ---------- 12. News cards ---------------------------------------------- */

.bushido_news_item,
.bushido_news_featured,
.bushido_news_featured2,
.bushido_news_featured3,
.bushido_news_featured4,
.bushido_news_square {
  display: flex;
  flex-direction: column;
  padding: 10px;
  color: inherit;
  text-decoration: none;
}
.bushido_news_item,
.bushido_news_featured,
.bushido_news_featured2,
.bushido_news_featured3,
.bushido_news_featured4 { color: inherit !important; }

.bushido_news_item,
.bushido_news_featured4,
.bushido_news_square { flex: 0 0 calc(25% - 20px);      max-width: calc(25% - 20px); }
.bushido_news_featured,
.bushido_news_featured2 { flex: 0 0 calc(50% - 20px);      max-width: calc(50% - 20px); }
.bushido_news_featured3 { flex: 0 0 calc(33.3333% - 20px); max-width: calc(33.3333% - 20px); }

.bushido_news_item img,
.bushido_news_featured img,
.bushido_news_featured2 img,
.bushido_news_featured3 img,
.bushido_news_featured4 img,
.bushido_news_square img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.414;
  margin-bottom: 10px;
  border-radius: 15px;
  object-fit: cover;
}
.bushido_news_square img { aspect-ratio: 1 / 1; }

.bushido_news_item h3,
.bushido_news_square h3,
.bushido_news_featured h3,
.bushido_news_featured2 h3,
.bushido_news_featured3 h3,
.bushido_news_featured4 h3 {
  margin: 8px 0 4px;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: -.5px;
  color: #666 !important;
  text-align: center !important;
}
.bushido_news_item p,
.bushido_news_square p,
.bushido_news_featured p,
.bushido_news_featured2 p,
.bushido_news_featured3 p,
.bushido_news_featured4 p {
  margin: 6px;
  font-size: .85em;
  color: #666 !important;
  text-align: center;
}
.bushido_news_item:hover h3,
.bushido_news_featured:hover h3,
.bushido_news_featured2:hover h3,
.bushido_news_featured3:hover h3,
.bushido_news_featured4:hover h3 { color: #444 !important; }

.bushido_news_container h2,
.bushido_news_container h3 {
  width: 100%;
  margin: 40px 0 10px;
  letter-spacing: -.5px;
  color: #444;
  text-align: left;
}


/* ---------- 13. Seminar timetable (event pages) ------------------------- */

.seminar_table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  width: 100%;
  margin: 2rem 0;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fafafa !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  color: #666 !important;
  transition: .25s;
}
.seminar_row { display: flex; align-items: flex-start; width: 100%; }
.seminar_cell {
  flex: 1 1 0%;
  display: flex;
  align-items: flex-start;
  padding: 8px;
  font-size: 1em;
  vertical-align: top;
  text-align: left !important;
}
.seminar_cell.date { flex: 0 0 220px; }
.header_row .seminar_cell { font-weight: bold; }
.seminar_spacer {
  width: 100%;
  height: 1px;
  margin: 20px 0;
  border-radius: 20px;
  background: linear-gradient(to right, rgba(0, 0, 0, .2), rgba(0, 0, 0, .05), rgba(0, 0, 0, .2));
}


/* ---------- 14. Affiliations table -------------------------------------- */

.table_container { display: table; width: 100%; margin: 2rem 0; text-align: left !important; }
.table_container h2 { text-align: left !important; }
.table_row { display: table-row; width: 100%; }
.table_image,
.table_content,
.table_full { display: table-cell; float: left; }
.table_image   { width: 20%; padding: 10px; }
.table_content { width: 80%; padding: 10px; text-align: left !important; }
.table_full    { width: 100%; }
.table_image img { width: 100%; height: auto; }


/* ---------- 15. FAQ & instructor accordions ----------------------------- */

.faq {
  display: none;
  padding: 0 22px;
  border: 1px solid #c0c0c0;
  background: #fff;
  line-height: 1.6;
  overflow: hidden;
  transition: .3s;
}
.faq.open { display: block; margin-bottom: 1em; padding: 10px; overflow: visible; }
.faq p,
.faq li { margin-bottom: 10px; text-align: left; }
.faq ul { margin: 5px 0 0; padding: 10px; }
.faq p {
  padding: 10px;
  font-size: 1em;
  font-style: normal;
  color: #333;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
.faq p:last-child { margin-bottom: 2em; }
.faq a {
  font-size: 1em;
  font-style: normal;
  color: #0066cc !important;
  text-decoration: underline;
  transition: color .2s, text-decoration .2s;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
.faq a:hover { color: #004c99 !important; text-decoration: none; }
.faq_spacer { width: 100%; height: 15px; margin-bottom: 10px; }

.collapsible {
  width: 100%;
  padding: 14px 18px;
  border: none;
  outline: none;
  background: #eee;
  color: #333;
  font-size: 1.05em;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
.collapsible:hover,
.collapsible.active { background: #aaa; }
.collapsible::after {
  content: "\2795";
  float: right;
  margin-left: 5px;
  font-size: 13px;
  color: #fff;
  transition: transform .2s;
}
.collapsible.active::after { content: "\2796"; transform: rotate(180deg); }


/* ---------- 16. Terms & conditions page --------------------------------- */

#bushido-terms,
#bushido-terms h2,
#bushido-terms h3,
#bushido-terms p,
#bushido-terms ol,
#bushido-terms li,
#bushido-terms .terms-contents,
#bushido-terms .faq { text-align: left; }

#bushido-terms .terms-collapsible {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-left: 4px solid transparent;
  border-radius: 4px;
  background: #eee;
  color: #333;
  font-family: inherit;
  font-size: 1.05em;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
#bushido-terms .terms-collapsible:hover { background: #ddd; }
#bushido-terms .terms-collapsible.active { background: #ddd; border-left-color: #263746; }
#bushido-terms .terms-collapsible::after {
  content: "+";
  float: right;
  margin-left: 12px;
  font-size: 1.4em;
  font-weight: 400;
  line-height: 1;
}
#bushido-terms .terms-collapsible.active::after { content: "\2212"; }
#bushido-terms .terms-accordion .faq { display: none; max-height: none !important; }
#bushido-terms .terms-accordion .faq.open { display: block; max-height: none !important; overflow: visible; }

#bushido-terms .terms-contents { margin: 15px 0 20px; }
#bushido-terms .terms-contents li { margin-bottom: 6px; line-height: 1.6; }
#bushido-terms .terms-contents a { color: #0066cc; text-decoration: underline; }
#bushido-terms .terms-contents a:hover { color: #004c99; text-decoration: none; }

#bushido-terms .faq-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin: 20px 0 25px;
  text-align: left;
}
#bushido-terms .faq-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: .95em;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
#bushido-terms .faq-expand { background: #263746; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
#bushido-terms .faq-expand:hover {
  background: #40566a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
#bushido-terms .faq-collapse { background: #eee; color: #333; border-color: #c0c0c0; }
#bushido-terms .faq-collapse:hover { background: #ddd; transform: translateY(-2px); }
#bushido-terms .terms-collapsible:focus-visible,
#bushido-terms .faq-control-btn:focus-visible { outline: 3px solid #0066cc; outline-offset: 3px; }


/* ---------- 17. Embeds: forms, maps, YouTube ---------------------------- */

.google-form-container {
  position: relative;
  width: 100%;
  margin: 0 auto 2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.google-form-container::before { content: ""; display: block; padding-top: 2000px; }
.google-form-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #c0c0c0;
  border-radius: 8px;
  background: #fff;
}

/* Any Google map iframe: full width, keeps a sensible shape on every screen
   (16:9 on desktop, 4:3 on tablets, taller on phones – see Responsive) */
.googlemap {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #e9e9eb;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  transition: box-shadow .25s;
}
.googlemap:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }
@supports not (aspect-ratio: 1) { .googlemap { height: 500px; } }

.youtube-lite {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1050px;
  aspect-ratio: 1050 / 591;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.youtube-lite picture,
.youtube-lite img,
.youtube-lite iframe {   /* iframe is added by JS when the video is clicked */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.youtube-lite img { object-fit: contain; }


/* ---------- 18. Grading syllabus ---------------------------------------- */

.syllabus {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  width: 100%;
  padding: 10px;
  background: #fff;
  vertical-align: top;
  overflow: hidden;
}
.syllabus_item { flex: 0 0 49%; max-width: 49%; }
.syllabus h3,
.syllabus h4 {
  margin-top: 5px !important;
  margin-bottom: 10px !important;
  text-align: left !important;
}
.syllabus_table_container { display: flex; flex-wrap: wrap; width: 100%; }
.syllabus_table_full { flex: 0 0 100%; padding: 2px; font-size: 1.3em; }
.syllabus_table_50,
.syllabus_table_50_desc { flex: 0 0 50%; padding: 2px; text-align: left !important; }
.syllabus_table_50_desc { font-size: .9em; }


/* ---------- 19. Images, gallery, misc ----------------------------------- */

.photo_right {
  float: right;
  width: 40%;
  margin: 0 0 20px 30px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.photo_right img { display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0; }

.gallery {
  flex: 0 0 calc(25% - 20px);
  max-width: calc(25% - 20px);
  overflow: hidden;
}
.gallery_container img { display: block; width: 100%; height: 100%; object-fit: cover; }



/* ---------- Main content text & links ---------------------------------
   Keep these AFTER the component sections: they tie on specificity with
   card rules (e.g. ".bushido_news_item p") and must win, as before. */

.content_center p { font-size: 1em; font-weight: 300; }
.content_center b,
.content_center strong { font-weight: bold; color: #000; }
.content_center li {
  margin: 0 50px 20px;
  list-style: disc;
  color: #595959;
  font-weight: 300;
  letter-spacing: -.5px;
  text-align: left;
}
.content_center a,
.content_center a:link,
.content_center a:visited,
.content_center a:hover,
.content_center a:active,
.content_center a:focus {
  color: #0066cc !important;
  font-size: 1em !important;
  text-decoration: none;
  text-align: center !important;
}
.content_center a:hover { text-decoration: underline; }


/* ---------- 20. Footer -------------------------------------------------- */

.footerred_container {
  display: table;
  width: 100%;
  padding: 10px;
  background: #012040 !important;
  color: #fff !important;
  font-weight: 500;
  letter-spacing: .3px;
  text-align: left !important;
}
.footerred_100 {
  position: relative;
  float: left;
  width: 100%;
  font-size: .8em;
  color: #fff !important;
  text-align: center !important;
}
.footerred_100 p {
  margin: 0;
  padding: 10px;
  font-size: 1em;
  line-height: 1.4;
  color: #fff !important;
  text-align: center !important;
}
.footerred_100 a:link,
.footerred_100 a:active,
.footerred_100 a:visited,
.footerred_100 a:hover {
  color: #fff !important;
  font-size: 1em !important;
  text-align: center !important;
}

.footer {
  float: left;
  width: 100%;
  padding: 20px;
  background: #000;
  color: #fff !important;
}
.footer img { width: 40px; height: auto; }
.footer a { color: #fff !important; font-size: 1em !important; }

.socialmedia_container { width: 100%; max-width: 400px; margin: 0 auto; }
.socialmedia_icon { float: left; width: 14.285%; }
.socialmedia_icon img { width: 100%; height: auto; }

.footer_menu_container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  width: 100%;
  max-width: 1280px;
  margin: 20px auto;
  color: #fff !important;
}
.footer_menu_item {
  flex: 0 0 calc(25% - 20px);
  max-width: calc(25% - 20px);
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  text-align: center !important;
}
.footer_section { width: 100%; margin: 0 0 1px; }
.footer_section button {
  position: relative;
  width: 100%;
  padding: 10px;
  background: none;
  color: #fff;
  font-size: .9em;
  font-weight: bold;
  letter-spacing: -.5px;
  text-align: center !important;
  cursor: default;
}
.footer_section ul { display: block; margin: 0; list-style: none; }
.footer_section ul li a {
  display: block;
  font-size: .8em !important;
  color: #fff !important;
  text-align: center !important;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

/* Desktop: footer headings are plain labels, not accordion buttons */
@media (min-width: 901px) {
  .footer_section button { pointer-events: none; }
  .footer_section button::after { display: none; }
  .contacttop_container { justify-content: center; gap: 16px; padding: 10px 16px; }
  .contacttop_container a.contacttop_btn,
  .contacttop_container a.contacttop_btn:link,
  .contacttop_container a.contacttop_btn:visited,
  .contacttop_container a.contacttop_btn:active {
    flex: 0 1 400px;
    flex-direction: row;
    gap: 10px;
    padding: 10px 18px;
  }
  .contacttop_action { font-size: 16px; }
  .contacttop_who { margin-top: 0; font-size: 14px; }
  .contacttop_who::before { content: "- "; }
}

/* Everything up to small desktop */
@media (max-width: 1200px) {
  .googlecalendar_row { align-items: flex-start !important; }
  .googlecalendar_time { flex: 0 0 20%; max-width: 20%; text-align: left !important; }
  .googlecalendar_stack {
    flex: 0 0 80% !important;
    max-width: 80% !important;
    flex-direction: column !important;
    align-items: flex-start;
  }
  .googlecalendar_title,
  .googlecalendar_location,
  .googlecalendar_details {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }
}

/* Small desktop + tablet */
@media (min-width: 641px) and (max-width: 1200px) {
  .membershipprices_item { flex: 1 1 calc(33.3333% - 20px); max-width: calc(33.3333% - 20px); }
  .bushido_news_item,
  .bushido_news_square,
  .bushido_news_featured,
  .bushido_news_featured2 { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); }
  .bushido_news_featured3 { flex: 1 1 calc(33.3333% - 20px); max-width: calc(33.3333% - 20px); }
}

/* Small desktop only */
@media (min-width: 901px) and (max-width: 1200px) {
  .safeguarding_item { flex: 1 1 calc(25% - 20px); }
  .bushido_news_featured4 { flex: 1 1 calc(25% - 20px); }
  .times_item { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); }
  p { font-size: .9em !important; }
}

/* Tablet + phone: footer becomes an accordion */
@media (max-width: 900px) {
  .footer_menu_container { gap: 0 !important; }
  .footer_menu_item { flex: 0 0 100%; max-width: 100%; padding: 0 !important; }
  .footer_section { margin-bottom: 1px !important; }
  .footer_section button {
    margin: 0;
    padding: 10px;
    min-height: 44px;
    cursor: pointer;
    background: #363534;
    font-weight: 400 !important;
    line-height: 1em;
    text-align: left !important;
    pointer-events: auto;
  }
  .footer_section ul { display: none; background: #646464; }
  .footer_section.open ul { display: block !important; }
  .footer_section ul li a {
    padding: 10px;
    border-bottom: 1px solid #363534;
    line-height: 1em;
    text-align: left !important;
  }
  .footer_section button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1em;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background: url("/images/down.svg") 0 0 / 24px 24px;
  }
  .footer_section.open button::after { background-image: url("/images/up.svg"); }
}

/* Tablet only */
@media (min-width: 641px) and (max-width: 900px) {
  .googlemap { aspect-ratio: 4 / 3; }
  .membership_item { flex: 0 0 calc(33% - 20px); max-width: calc(50% - 20px); }
  .safeguarding_item { flex: 1 1 calc(33% - 20px); max-width: calc(50% - 20px); }
  .bushido_news_featured4 { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); }
  .gallery { flex: 0 0 calc(50% - 20px); max-width: calc(50% - 20px); }
  p { font-size: .85em !important; }
}

/* Phone */
@media (max-width: 640px) {
  h1, h2, h3, h4 { text-align: center !important; }
  p { font-size: 1em !important; }
  
  .coverimage img { aspect-ratio: 1000 / 333; }

  /* Navigation becomes a stacked accordion */
  #nav > ul { height: auto; line-height: initial; }
  #nav > ul > li { float: none; width: 100%; height: auto; }
  #nav > ul > li > button {
    z-index: 5;
    padding: 0 1em;
    border-bottom: 1px solid #2c2b2b;
    background: #363534;
    line-height: 2.8em;
    text-align: left !important;
  }
  #nav > ul > li > button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1em;
    z-index: 1;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background: url("/images/down.svg") no-repeat 0 0 / 24px 24px;
    opacity: .9;
    pointer-events: none;
  }
  #nav li.open > button::after { background-image: url("/images/up.svg"); }
  #nav li ul { position: static !important; width: 100%; }
  #nav li ul a { padding: .75em 1.25em; background: #646464; text-align: left !important; }

  /* Calendar */
  .googlecalendar_time { flex: 0 0 30%; max-width: 30%; }
  .googlecalendar_stack { flex: 0 0 70% !important; max-width: 70% !important; }
  .googlecalendar_details { width: 100%; }

  /* Cards go full width (news items stay two-up) */
  .membership_item,
  .safeguarding_h_item,
  .syllabus_item,
  .gallery { flex: 0 0 100%; max-width: 100%; }
  .safeguarding_item,
  .times_item,
  .membershipprices_item,
  .bushido_news_featured,
  .bushido_news_featured2,
  .bushido_news_featured3,
  .bushido_news_featured4 { flex: 1 1 100%; max-width: 100%; }
  .bushido_news_item,
  .bushido_news_square { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); }

  .photo_right { width: 100% !important; padding: 10px; border: 1px solid #c0c0c0; }
  .photo_right img { width: 100%; }
  .toc { width: 100%; }

  .google-form-container { border-radius: 6px; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }
  .google-form-container::before { padding-top: 1800px; }
  .googlemap { aspect-ratio: 4 / 5; max-height: 70vh; border-radius: 16px; }
}

/* Very small phones: tighten the top bar */
@media (max-width: 360px) {
  .contacttop_container { gap: 6px; padding: 6px; }
  .contacttop_container a.contacttop_btn,
  .contacttop_container a.contacttop_btn:link,
  .contacttop_container a.contacttop_btn:visited { padding: 7px 6px; }
  .contacttop_action { font-size: 14px; }
  .contacttop_who { font-size: 11.5px; }
}


/* ==========================================================================
   21. Locations, training times & maps
   Made by the CMS (cmsx/site_locations.php) from Companies › Schema ›
   Locations – includes_douglas.php, includes_carrigtwohill.php,
   includes_times.php and includes_location.php. Classes start "loc-".
   ========================================================================== */

.loc {
  --loc-red: #b32023;
  --loc-red-dark: #8f1a1c;
  --loc-ink: #1d1d1f;
  --loc-grey: #565656;
  --loc-line: #ddd;
  --loc-soft: #fafafa;
  margin: 2.5rem 0;
  text-align: left;
}
.loc div { text-align: left; }
.loc .loc__title { margin: 0 0 .6em; text-align: center; }

/* "Next class" pill under the heading */
.loc .loc-next {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.6rem !important;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--loc-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  color: var(--loc-ink);
  font-size: .95em !important;
  text-align: left;
}
.loc .loc-next[hidden] { display: none; }
.loc-next__tag {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--loc-red);
  color: #fff;
  font-size: .8em;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.loc-next.is-live .loc-next__tag { position: relative; padding-left: 24px; background: #1e7a3c; }
.loc-next.is-live .loc-next__tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  animation: loc-pulse 1.6s ease-out infinite;
}
@keyframes loc-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }

/* Two cards side by side: times | how to find it */
.loc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.loc-card {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--loc-line);
  border-radius: 20px;
  background: var(--loc-soft);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0, 0, 0, .1); border-color: #bbb; }
.loc-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.loc .loc-card h3 {
  margin: 0;
  color: var(--loc-ink);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.2px;
  text-align: left;
}

/* Week at a glance */
.loc-week { display: flex; gap: 4px; }
.loc-week__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ececee;
  color: #9a9a9f;
  font-size: 11px;
  font-weight: 600;
}
.loc-week__day.is-on { background: var(--loc-red); color: #fff; }
.loc-week__day.is-today { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--loc-ink); }

/* Timetable */
.loc-tt { display: flex; flex-direction: column; }
.loc-tt__day {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 10px;
  border-top: 1px solid #e6e6e8;
  border-radius: 12px;
}
.loc-tt__day:first-child { border-top: 0; }
.loc-tt__day.is-today { border-top-color: transparent; background: #fdf0f0; }
.loc-tt__day.is-today + .loc-tt__day { border-top-color: transparent; }
.loc-tt__dayname { padding-top: 7px; color: var(--loc-ink); font-weight: 600; }
.loc-tt__today {
  display: none;
  width: fit-content;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--loc-red);
  color: #fff;
  font-size: .7em;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.loc-tt__day.is-today .loc-tt__today { display: block; }
.loc-tt__classes { display: flex; flex-direction: column; gap: 6px; }
.loc-tt__class {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  padding: 8px 12px;
  border: 1px solid #e6e6e8;
  border-left: 4px solid var(--loc-c, var(--loc-red));
  border-radius: 10px;
  background: #fff;
}
.loc-tt__class.is-future { border-style: dashed; border-left-style: solid; background: #fffdf7; }
.loc-tt__time {
  flex: 0 0 auto;
  color: var(--loc-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.loc-tt__name { flex: 1 1 110px; min-width: 0; color: var(--loc-grey); }
.loc .loc-tt__name a,
.content_center .loc .loc-tt__name a {
  color: var(--loc-grey) !important;
  font-size: 1em !important;
  text-align: left !important;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s, color .15s;
}
.loc .loc-tt__name a::after { content: " ›"; color: var(--loc-red); }
.loc .loc-tt__name a:hover,
.content_center .loc .loc-tt__name a:hover { color: var(--loc-red) !important; background-size: 100% 1px; text-decoration: none; }
.loc-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 9px;
  border-radius: 999px;
  background: #fff4de;
  color: #9a5b00;
  font-size: .78em;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: 1px;
}

.loc-badge--off { background: #fdecea; color: #b42318; }
.loc-badge--moved { background: #eef4fb; color: #2c5ea8; }
.loc .loc-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #6e6e73;
  font-size: .8em !important;
  text-align: left;
}
.loc-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #1e7a3c; box-shadow: 0 0 0 3px rgba(30, 122, 60, .15); }

/* Opening hours (locations without a timetable) */
.loc-hours__row { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; }
.loc-hours__row.is-closed { color: #9a9a9f; }
.loc-hours__row.is-today { background: #fdf0f0; color: var(--loc-ink); font-weight: 600; }

/* Address, directions, buttons */
.loc .loc-address {
  position: relative;
  margin: 0 0 14px;
  padding-left: 30px;
  color: var(--loc-ink);
  font-style: normal;
  line-height: 1.55;
}
.loc .loc-address::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--loc-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.loc .loc-directions { margin: 0 0 12px; color: var(--loc-grey); font-size: .95em !important; line-height: 1.6; text-align: left; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.loc a.loc-btn,
.content_center .loc a.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
  color: var(--loc-ink) !important;
  font-size: .9em !important;
  font-weight: 500;
  line-height: 1.2;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.loc a.loc-btn:hover,
.content_center .loc a.loc-btn:hover { border-color: #b8b8bd; background: #f2f2f4; transform: translateY(-1px); }
.loc a.loc-btn--primary,
.content_center .loc a.loc-btn--primary { border-color: var(--loc-red); background: var(--loc-red); color: #fff !important; }
.loc a.loc-btn--primary:hover,
.content_center .loc a.loc-btn--primary:hover { border-color: var(--loc-red-dark); background: var(--loc-red-dark); }
.loc a.loc-btn:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; }

/* Maps: a frame that keeps its shape – 16:9 desktop, 4:3 tablet, 4:5 phone */
.loc-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  overflow: hidden;
  border: 1px solid var(--loc-line);
  border-radius: 20px;
  background: #e9e9eb linear-gradient(110deg, #e9e9eb 30%, #f4f4f6 50%, #e9e9eb 70%) 0 0 / 300% 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
  animation: loc-shimmer 1.6s linear infinite;
}
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes loc-shimmer { to { background-position: -150% 0; } }
@supports not (aspect-ratio: 1) { .loc-map { height: 0; padding-top: 56.25%; } }

/* Map with location tabs */
.loc-maptabs__tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 4px;
  overflow-x: auto;
  border-radius: 999px;
  background: #ececee;
  scrollbar-width: none;
}
.loc-maptabs__tabs::-webkit-scrollbar { display: none; }
.loc-maptabs__tabs button {
  flex: 0 0 auto;
  padding: 9px 20px;
  border-radius: 999px;
  background: none;
  color: var(--loc-grey);
  font-size: .95em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.loc-maptabs__tabs button:hover { color: var(--loc-ink); }
.loc-maptabs__tabs button[aria-selected="true"] { background: #fff; color: var(--loc-red); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.loc-maptabs__tabs button:focus-visible { outline: 3px solid #0071e3; outline-offset: 1px; }
.loc .loc-maptabs__caption { margin: 12px 0 0; color: var(--loc-grey); font-size: .9em !important; text-align: center; }

/* Overview cards (all locations) */
.loc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.loc-card--overview { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.loc-card__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 190px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--loc-red), #363534);
}
.loc-card__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-card__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .05) 65%); }
.loc .loc-card__hero h3 { position: relative; z-index: 1; color: #fff; font-size: 1.3rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.loc .loc-card__hero h3 a,
.content_center .loc .loc-card__hero h3 a { color: #fff !important; font-size: 1em !important; text-align: left !important; }
.loc .loc-card__hero h3 a::after { content: ""; position: absolute; inset: -200px -22px -18px; }  /* whole picture is the link */
.loc-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; padding: 20px 22px 22px; }
.loc-card__body .loc-address { margin-bottom: 0; }
.loc-card__body .loc-actions { margin-top: auto; padding-top: 6px; }
.loc-tt--compact .loc-tt__day { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 8px 6px; }
.loc-tt--compact .loc-tt__dayname { padding-top: 5px; font-size: .92em; }
.loc-tt--compact .loc-tt__class { padding: 5px 10px; font-size: .92em; }

/* Tablet */
@media (max-width: 900px) {
  .loc__grid { grid-template-columns: minmax(0, 1fr); }
  .loc-map { aspect-ratio: 4 / 3; }
}
/* Phone */
@media (max-width: 640px) {
  .loc { margin: 2rem 0; }
  .loc-card { padding: 18px 16px; border-radius: 16px; }
  .loc-card:hover { transform: none; }
  .loc-tt__day { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 8px; }
  .loc-tt__dayname { display: flex; align-items: center; gap: 8px; padding-top: 0; }
  .loc-tt__today { margin-top: 0; }
  .loc-map { aspect-ratio: 4 / 5; max-height: 70vh; border-radius: 16px; }
  .loc-cards { grid-template-columns: minmax(0, 1fr); }
  .loc-card__hero { height: 160px; }
  .loc-actions .loc-btn { flex: 1 1 auto; justify-content: center; }
  .loc .loc-next { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .loc-card, .loc a.loc-btn, .loc-map { transition: none; animation: none; }
  .loc-card:hover { transform: none; }
  .loc-next.is-live .loc-next__tag::before { animation: none; }
}

/* ==========================================================================
   22. Contact box
   Made by the CMS (cmsx/site_contact.php) from Companies – used by
   includes_contact_box.php. Only what's filled in is shown. Classes start "cbx-".
   ========================================================================== */

.cbx {
  --cbx-red: #b32023;
  --cbx-red-dark: #8f1a1c;
  --cbx-ink: #1d1d1f;
  --cbx-grey: #565656;
  --cbx-line: #ddd;
  --cbx-soft: #fafafa;
  margin: 2.5rem 0;
  overflow: hidden;
  border: 1px solid var(--cbx-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  text-align: left;
}
.cbx div, .cbx span { text-align: left; }
.cbx .cbx-ico { display: block; width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }

/* Top: heading, intro and the main buttons on the club red */
.cbx-hero {
  position: relative;
  padding: 44px 48px 40px;
  background:
    radial-gradient(120% 140% at 100% 0, rgba(255, 255, 255, .14) 0, rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, var(--cbx-red) 0%, var(--cbx-red-dark) 100%);
  color: #fff;
  text-align: center;
}
.cbx div.cbx-hero { text-align: center; color: #fff; }
.cbx-hero::after {            /* a faint enso-style ring in the corner */
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 26px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}
.cbx .cbx-eyebrow {
  margin: 0 0 .6em !important;
  color: rgba(255, 255, 255, .85);
  font-size: .8em !important;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-align: center;
  text-transform: uppercase;
}
.cbx .cbx-title { margin: 0 auto .5em; max-width: 30ch; color: #fff; text-align: center; }
.cbx .cbx-intro {
  max-width: 68ch;
  margin: 0 auto .9em !important;
  color: rgba(255, 255, 255, .92);
  text-align: center;
}
.cbx .cbx-next {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 1.4em auto 0 !important;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: .95em !important;
  text-align: left;
}
.cbx .cbx-next[hidden] { display: none; }
.cbx .cbx-next .loc-next__tag { background: #fff; color: var(--cbx-red); }
.cbx .cbx-next.is-live .loc-next__tag { background: #1e7a3c; color: #fff; }
.cbx-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1.6em;
}
.cbx div.cbx-cta { text-align: center; }
.cbx .cbx-cta a.cbx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
  font-size: 1em !important;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.cbx .cbx-cta a.cbx-btn:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.cbx .cbx-cta a.cbx-btn--primary { border-color: #fff; background: #fff; color: var(--cbx-red) !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.cbx .cbx-cta a.cbx-btn--primary:hover { background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.cbx .cbx-cta .cbx-ico { width: 18px; height: 18px; }
/* Just the next class and the buttons (no heading or intro) */
.cbx .cbx-hero--compact { padding: 28px 32px; }
.cbx .cbx-hero--compact > .cbx-next { margin-top: 0 !important; }
.cbx .cbx-hero--compact > .cbx-cta:first-child,
.cbx .cbx-hero--compact > .cbx-next[hidden] + .cbx-cta { margin-top: 0; }
.cbx .cbx-hero--compact > .cbx-next:not([hidden]) + .cbx-cta { margin-top: 1.2em; }

/* Tabs */
.cbx-panel { padding: 28px 32px 32px; }
.cbx-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 26px;
  padding: 4px;
  overflow-x: auto;
  border-radius: 999px;
  background: #f0f0f2;
}
.cbx-tabs button {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cbx-grey);
  font: inherit;
  font-size: .95em;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.cbx-tabs button:hover { color: var(--cbx-ink); }
.cbx-tabs button[aria-selected="true"] { background: #fff; color: var(--cbx-red); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.cbx button:focus-visible, .cbx a:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; }
.cbx-pane[hidden] { display: none; }
.cbx-pane { animation: cbx-in .3s ease; }
@keyframes cbx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Contact details */
.cbx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cbx-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--cbx-line);
  border-radius: 16px;
  background: var(--cbx-soft);
}
.cbx .cbx-item--wide { grid-column: 1 / -1; }
.cbx-item__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(179, 32, 35, .09);
  color: var(--cbx-red);
}
.cbx .cbx-item__ico--gold { background: rgba(232, 164, 0, .14); color: #b77d00; }
.cbx-item__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cbx .cbx-item__label { color: var(--cbx-grey); font-size: .82em; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.cbx .cbx-item__value,
.cbx a.cbx-item__value {
  overflow-wrap: anywhere;
  color: var(--cbx-ink) !important;
  font-size: 1.08em !important;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  text-align: left !important;
  text-decoration: none;
}
.cbx a.cbx-item__value:hover { color: var(--cbx-red) !important; text-decoration: underline; }
.cbx address.cbx-item__value { font-weight: 500; }
.cbx .cbx-copy,
.cbx a.cbx-copy:link,
.cbx a.cbx-copy:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--cbx-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cbx-grey) !important;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.cbx .cbx-copy:hover, .cbx a.cbx-copy:hover { border-color: var(--cbx-red); color: var(--cbx-red) !important; }
.cbx .cbx-copy .cbx-ico { width: 17px; height: 17px; }
.cbx .cbx-copy.is-done { border-color: #1e7a3c; background: #1e7a3c; color: #fff !important; }
.cbx a.cbx-item--link { align-items: center; color: inherit !important; text-align: left !important; text-decoration: none; transition: border-color .2s, transform .2s; }
.cbx a.cbx-item--link:hover { border-color: #e8a400; transform: translateY(-1px); }
.cbx a.cbx-item--link > .cbx-ico { color: var(--cbx-grey); }
.cbx-hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 18px; margin-top: 6px; }
.cbx-hours__row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed var(--cbx-line); color: var(--cbx-ink); }
.cbx .cbx-hours__row span:first-child { font-weight: 600; }
.cbx .cbx-hours__row.is-closed { color: #999; }
.cbx .cbx-hours__row.is-today { color: var(--cbx-red); font-weight: 700; }
.cbx .cbx-note { display: block; margin-top: 8px; color: var(--cbx-grey); font-size: .92em; }

/* Social media */
.cbx-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.cbx a.cbx-net {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--cbx-line);
  border-radius: 16px;
  background: #fff;
  color: var(--cbx-ink) !important;
  text-align: left !important;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cbx a.cbx-net:hover { border-color: var(--net, var(--cbx-red)); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.cbx-net__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--net, var(--cbx-red));
  color: #fff;
}
.cbx-net__ico .cbx-ico { width: 22px; height: 22px; }
.cbx-net__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cbx .cbx-net__name { font-weight: 700; }
.cbx .cbx-net__handle { overflow: hidden; color: var(--cbx-grey); font-size: .9em; text-overflow: ellipsis; white-space: nowrap; }
.cbx a.cbx-net > .cbx-ico { color: #aaa; transition: color .2s, transform .2s; }
.cbx a.cbx-net:hover > .cbx-ico { color: var(--net, var(--cbx-red)); transform: translate(2px, -2px); }
.cbx .cbx-net--facebook  { --net: #1877f2; }
.cbx .cbx-net--instagram { --net: #d62976; }
.cbx .cbx-net--instagram .cbx-net__ico { background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.cbx .cbx-net--youtube   { --net: #ff0000; }
.cbx .cbx-net--tiktok    { --net: #111; }
.cbx .cbx-net--linkedin  { --net: #0a66c2; }
.cbx .cbx-net--x_twitter { --net: #111; }
.cbx .cbx-net--threads   { --net: #111; }
.cbx .cbx-net--pinterest { --net: #e60023; }

/* Locations: list on the left, map on the right */
.cbx-locs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.cbx-loclist { display: flex; flex-direction: column; gap: 10px; }
.cbx-loc {
  overflow: hidden;
  border: 1px solid var(--cbx-line);
  border-radius: 16px;
  background: var(--cbx-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cbx .cbx-loc.is-active { border-color: var(--cbx-red); background: #fff; box-shadow: 0 0 0 3px rgba(179, 32, 35, .1); }
.cbx-loc__pick, button.cbx-loc--all {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: var(--cbx-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
button.cbx-loc--all { border: 1px dashed var(--cbx-line); }
button.cbx-loc--all.is-active { border-style: solid; }
.cbx .cbx-loc__name { font-weight: 700; font-size: 1.05em; }
.cbx .cbx-loc__name::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border: 2px solid var(--cbx-red);
  border-radius: 50%;
  vertical-align: 1px;
}
.cbx .is-active .cbx-loc__name::before, .cbx .cbx-loc--all.is-active .cbx-loc__name::before { background: var(--cbx-red); }
.cbx .cbx-loc__meta { color: var(--cbx-grey); font-size: .92em; }
.cbx .cbx-loc__days {
  width: fit-content;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(179, 32, 35, .09);
  color: var(--cbx-red);
  font-size: .82em;
  font-weight: 700;
  letter-spacing: .4px;
}
.cbx-loc__actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 14px; }
.cbx .cbx-loc__actions a {
  padding: 6px 14px;
  border: 1px solid var(--cbx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--cbx-ink) !important;
  font-size: .88em !important;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.cbx .cbx-loc__actions a:hover { border-color: var(--cbx-red); color: var(--cbx-red) !important; }
.cbx .cbx-map { aspect-ratio: 4 / 3; max-height: 560px; }
.cbx .cbx-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Registration line */
.cbx .cbx-legal {
  margin: 0 !important;
  padding: 14px 32px;
  border-top: 1px solid var(--cbx-line);
  background: var(--cbx-soft);
  color: #888;
  font-size: .82em !important;
  text-align: center;
}

/* Tablet */
@media (max-width: 900px) {
  .cbx-hero { padding: 36px 28px 32px; }
  .cbx-panel { padding: 24px 20px 26px; }
  .cbx-locs { grid-template-columns: minmax(0, 1fr); }
}
/* Phone */
@media (max-width: 640px) {
  .cbx { margin: 2rem 0; border-radius: 16px; }
  .cbx-hero { padding: 30px 18px 26px; }
  .cbx .cbx-hero--compact { padding: 20px 16px; }
  .cbx-panel { padding: 18px 14px 20px; }
  .cbx-grid { grid-template-columns: minmax(0, 1fr); }
  .cbx-cta { flex-direction: column; align-items: stretch; }
  .cbx .cbx-cta a.cbx-btn { justify-content: center; }
  .cbx-tabs { width: 100%; }
  .cbx-tabs button { flex: 1 1 0; min-width: 0; padding: 10px 4px; font-size: .85em; line-height: 1.2; }
  .cbx-item { padding: 14px; gap: 12px; }
  .cbx-item__ico { width: 38px; height: 38px; }
  .cbx .cbx-map { aspect-ratio: 4 / 5; max-height: 70vh; }
  .cbx .cbx-legal { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cbx *, .cbx-pane { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   23. Grading syllabus (interactive)
   includes_syllabus.php – belt path, grade cards, practice ticks, videos.
   Classes start "sy-". The old .syllabus_ classes in section 18 aren't used any more.
   ========================================================================== */

.sy {
  --sy-red: #b32023;
  --sy-ink: #1d1d1f;
  --sy-grey: #565656;
  --sy-line: #e3e3e6;
  --sy-soft: #f7f7f8;
  --belt: #b32023;
  --belt-ink: #fff;
  margin: 2.5rem 0;
  text-align: left;
}
.sy div, .sy span { text-align: left; }
.sy button { font: inherit; }

/* Heading */
.sy .sy-head { text-align: center; margin-bottom: 1.4rem; }
.sy .sy-eyebrow { margin: 0 0 .4em !important; color: var(--sy-red); font-size: .8em !important; font-weight: 700; letter-spacing: 1.8px; text-align: center; text-transform: uppercase; }
.sy .sy-title { margin: 0 0 .35em; text-align: center; }
.sy .sy-lead { max-width: 62ch; margin: 0 auto !important; text-align: center; }

/* Belt path */
.sy-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(92px, 1fr));
  gap: 6px;
  margin: 0 0 18px;
  padding: 10px 4px 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.sy-path::before {               /* the line the belts sit on */
  content: "";
  position: absolute;
  left: 40px; right: 40px; top: 36px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #e9e7e0, #f5c518, #f08a1c, #2e9b4b, #1f5fbf, #6b3fa0, #6b4226);
  opacity: .35;
}
.sy a.sy-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px 10px;
  border: 2px solid transparent;
  border-radius: 16px;
  color: var(--sy-ink) !important;
  font-size: 1em !important;
  text-align: center !important;
  text-decoration: none;
  scroll-snap-align: center;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.sy a.sy-step:hover { background: var(--sy-soft); transform: translateY(-2px); }
.sy a.sy-step[aria-selected="true"] { border-color: var(--belt); background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.sy a.sy-step:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; }
.sy .sy-belt { display: block; width: 74px; height: 28px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12)); transition: transform .25s; }
.sy a.sy-step[aria-selected="true"] .sy-belt { transform: scale(1.12); }
.sy a.sy-step.is-past .sy-belt { opacity: .55; }
.sy .sy-step__kyu { font-weight: 700; font-size: .92em; text-align: center; white-space: nowrap; }
.sy .sy-step__belt { color: var(--sy-grey); font-size: .78em; text-align: center; line-height: 1.2; }
.sy .sy-step__done {
  position: absolute; top: 2px; right: 4px;
  min-width: 22px; padding: 1px 6px;
  border-radius: 999px;
  background: #eef6f0; color: #1e7a3c;
  font-size: .7em; font-weight: 700; text-align: center;
}
.sy .sy-step__done.is-full { background: #1e7a3c; color: #fff; }
.sy .sy-step__done[hidden] { display: none; }

/* A grade */
.sy-grade {
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--sy-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.sy--js .sy-grade { margin-bottom: 0; }
.sy-grade[hidden] { display: none; }
.sy-grade.sy-anim { animation: sy-in .35s ease; }
@keyframes sy-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sy-grade__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #fafafa;
  background: linear-gradient(120deg, color-mix(in srgb, var(--belt) 16%, #fff) 0%, #fff 70%);
  border-bottom: 1px solid var(--sy-line);
}
.sy-grade__head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--belt); }
.sy .sy-belt--big { width: 120px; height: 44px; }
.sy-grade__title { flex: 1; min-width: 0; }
.sy .sy-grade__step { margin: 0 0 2px !important; color: var(--sy-grey); font-size: .8em !important; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.sy .sy-grade__title h3 { margin: 0 0 6px; color: var(--sy-ink); text-align: left !important; }
.sy .sy-grade__title h3 span { display: block; color: var(--sy-grey); font-size: .62em; font-weight: 500; }
.sy .sy-grade__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; font-size: .85em !important; }
.sy .sy-grade__facts span { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--sy-line); color: var(--sy-ink); }
.sy .sy-grade__facts .sy-grade__newcount { border-color: transparent; background: var(--sy-red); color: #fff; font-weight: 600; }

/* Progress ring */
.sy-ring { position: relative; flex-shrink: 0; width: 84px; height: 84px; }
.sy-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sy-ring circle { fill: none; stroke-width: 4; }
.sy-ring__bg { stroke: #ececef; }
.sy-ring__fg { stroke: var(--belt); stroke-linecap: round; transition: stroke-dasharray .45s ease; }
.sy-ring.is-full .sy-ring__fg { stroke: #1e7a3c; }
.sy .sy-ring__num { position: absolute; inset: 0 0 14px; display: flex; align-items: center; justify-content: center; font-size: 1.15em; font-weight: 700; color: var(--sy-ink); text-align: center; }
.sy .sy-ring__label { position: absolute; left: 0; right: 0; bottom: 20px; color: var(--sy-grey); font-size: .62em; text-align: center; text-transform: uppercase; letter-spacing: .5px; }
.sy-ring.is-cheer { animation: sy-cheer .8s ease; }
@keyframes sy-cheer { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.18) rotate(-6deg); } 65% { transform: scale(1.08) rotate(4deg); } }

/* Options row */
.sy-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 28px 0; }
.sy--js .sy-tools { display: flex; }
.sy-tools { display: none; }
.sy-tool {
  padding: 7px 14px;
  border: 1px solid var(--sy-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sy-ink);
  font-size: .88em !important;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.sy-tool:hover { border-color: var(--sy-ink); }
.sy-tool[aria-pressed="true"] { border-color: var(--sy-ink); background: var(--sy-ink); color: #fff; }
.sy-tool:focus-visible, .sy-tick:focus-visible, .sy-watch:focus-visible, .sy-video:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; }

/* Kihon / Kumite / Kata */
.sy-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; padding: 18px 28px 6px; }
.sy-side { display: flex; flex-direction: column; gap: 18px; }
.sy-card { padding: 16px 16px 8px; border: 1px solid var(--sy-line); border-radius: 16px; background: var(--sy-soft); }
.sy .sy-card__title { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; color: var(--sy-ink); font-size: 1.2rem; text-align: left; }
.sy .sy-card__title small { color: var(--sy-grey); font-size: .7em; font-weight: 400; }
.sy .sy-card__jp { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 30px; padding: 0 6px; border-radius: 8px; background: var(--sy-ink); color: #fff; font-size: .75em; font-weight: 400; letter-spacing: 1px; }
.sy-stance + .sy-stance { margin-top: 10px; }
.sy .sy-stance__name { margin: 0 0 4px !important; padding: 2px 0 4px; border-bottom: 1px dashed #d6d6da; color: var(--sy-red); font-size: .82em !important; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }

.sy-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 6px; border-radius: 10px; transition: background .2s, opacity .2s; }
.sy-item:hover { background: #fff; }
.sy-item.is-new { background: linear-gradient(90deg, rgba(179, 32, 35, .07), transparent 70%); }
.sy-tick {
  display: none;
  flex-shrink: 0;
  width: 26px; height: 26px;
  margin-top: 1px;
  padding: 3px;
  border: 2px solid #c9c9ce;
  border-radius: 8px;
  background: #fff;
  color: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.sy--js .sy-tick { display: block; }
.sy-tick svg { display: block; width: 100%; height: 100%; }
.sy-tick:hover { border-color: var(--belt); }
.sy-tick:active { transform: scale(.9); }
.sy-item.is-done .sy-tick { border-color: #1e7a3c; background: #1e7a3c; color: #fff; }
.sy-item.is-done .sy-item__name { color: #6e6e73; text-decoration: line-through; text-decoration-color: rgba(30, 122, 60, .5); }
.sy-item__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sy .sy-item__name { color: var(--sy-ink); font-weight: 700; line-height: 1.35; }
.sy .sy-item__desc { color: var(--sy-grey); font-size: .9em; line-height: 1.45; }
.sy .sy-line { display: block; }
.sy .sy-line--lead { font-weight: 600; color: var(--sy-ink); }
.sy .sy-new { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--sy-red); color: #fff; font-size: .68em; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; vertical-align: 2px; }
.sy-watch {
  display: inline-flex; align-items: center; gap: 4px;
  flex-shrink: 0;
  padding: 4px 10px 4px 6px;
  border: 0;
  border-radius: 999px;
  background: var(--sy-ink);
  color: #fff;
  font-size: .78em !important;
  font-weight: 600;
  cursor: pointer;
}
.sy-watch svg { width: 14px; height: 14px; }
.sy-watch:hover { background: var(--sy-red); }

/* Only what's new */
.sy-grade.is-newonly .sy-item:not(.is-new) { display: none; }
.sy-grade.is-newonly .sy-stance:not(:has(.is-new)) { display: none; }

/* Test yourself: the English is blurred until tapped */
.sy-grade.is-quiz .sy-reveal { filter: blur(6px); cursor: pointer; user-select: none; transition: filter .25s; }
.sy-grade.is-quiz .sy-reveal.is-shown { filter: none; }

/* Videos */
.sy-videos { padding: 14px 28px 4px; }
.sy .sy-videos__title { margin: 0 0 10px; color: var(--sy-ink); text-align: left; }
.sy-videos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sy-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #000;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.sy-video picture, .sy-video img, .sy-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.sy-video img { transition: transform .4s, opacity .3s; opacity: .9; }
.sy-video:hover img { transform: scale(1.04); opacity: 1; }
.sy .sy-video__play {
  position: absolute; left: 50%; top: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: var(--sy-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: transform .2s;
}
.sy-video__play svg { width: 28px; height: 28px; margin-left: 3px; }
.sy-video:hover .sy-video__play { transform: scale(1.1); }
.sy .sy-video__name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 9px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  color: #fff; font-weight: 600; font-size: .92em;
}
.sy-video.is-playing .sy-video__play, .sy-video.is-playing .sy-video__name { display: none; }

/* Previous / next */
.sy-nav { display: flex; justify-content: space-between; gap: 10px; padding: 16px 28px 22px; }
.sy a.sy-nav__btn {
  display: flex; flex-direction: column;
  padding: 10px 16px;
  border: 1px solid var(--sy-line);
  border-radius: 14px;
  color: var(--sy-ink) !important;
  font-size: 1em !important;
  text-align: left !important;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.sy a.sy-nav__btn:hover { border-color: var(--sy-ink); transform: translateY(-1px); }
.sy a.sy-nav__btn--next { text-align: right !important; margin-left: auto; }
.sy a.sy-nav__btn--next span, .sy a.sy-nav__btn--next b { text-align: right; }
.sy .sy-nav__btn span { color: var(--sy-grey); font-size: .8em; }
.sy:not(.sy--js) .sy-nav { display: none; }
.sy .sy-foot { margin: 12px 0 0 !important; color: #888; font-size: .82em !important; text-align: center; }
.sy:not(.sy--js) .sy-foot { display: none; }

/* Tablet */
@media (max-width: 900px) {
  .sy-body { grid-template-columns: minmax(0, 1fr); }
}
/* Phone */
@media (max-width: 640px) {
  .sy-path { grid-template-columns: repeat(8, 88px); margin: 0 -8px 14px; padding-left: 8px; padding-right: 8px; }
  .sy-grade { border-radius: 16px; }
  .sy-grade__head { flex-wrap: wrap; gap: 12px; padding: 18px 16px; }
  .sy-grade__belt { order: 0; }
  .sy .sy-belt--big { width: 96px; height: 35px; }
  .sy-grade__title { order: 2; flex: 1 1 100%; }
  .sy-ring { order: 1; width: 68px; height: 68px; margin-left: auto; }
  .sy .sy-step__kyu { white-space: normal; line-height: 1.2; }
  .sy .sy-ring__num { font-size: 1em; }
  .sy .sy-ring__label { bottom: 15px; }
  .sy-tools { padding: 12px 16px 0; }
  .sy-body, .sy-videos { padding-left: 14px; padding-right: 14px; }
  .sy-nav { padding: 14px 14px 18px; }
  .sy-card { padding: 12px 10px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .sy *, .sy-grade.sy-anim { animation: none !important; transition: none !important; }
}

/* Print: only the grade on screen, as a checklist */
@media print {
  body.sy-printing * { visibility: hidden; }
  body.sy-printing .sy, body.sy-printing .sy * { visibility: visible; }
  body.sy-printing .sy { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
  body.sy-printing .sy-path, body.sy-printing .sy-tools, body.sy-printing .sy-videos, body.sy-printing .sy-nav,
  body.sy-printing .sy-foot, body.sy-printing .sy-lead, body.sy-printing .sy-watch, body.sy-printing .sy-grade[hidden] { display: none !important; }
  body.sy-printing .sy-grade { box-shadow: none; border-color: #999; }
  body.sy-printing .sy-tick { display: block; border-color: #555; }
  body.sy-printing .sy-reveal { filter: none !important; }
  body.sy-printing .sy-body { grid-template-columns: 1fr 1fr; }
}

/* SKIEF licensed referee directory */
/* Scoped: does not modify global website styles */
.skief-directory { --sk-blue:#012d55; --sk-gold:#c59a40; --sk-ink:#1b2b3d; --sk-muted:#657386; color:var(--sk-ink); margin:28px 0 50px; }
.skief-directory, .skief-directory * { box-sizing:border-box; }
.skief-directory .sk-head { padding:25px 28px; border-radius:16px; background:linear-gradient(115deg,#012040,#124b7c); color:white; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.skief-directory .sk-head h2 { color:white; font-size:1.65rem; font-weight:650; margin:0 0 5px; text-align:left; }
.skief-directory .sk-head p { color:#e1eaf2; margin:0; font-size:.94rem; text-align:left; }
.skief-directory .sk-total { background:rgba(255,255,255,.12); padding:12px 18px; border:1px solid rgba(255,255,255,.2); border-radius:12px; text-align:center; color:white; }
.skief-directory .sk-total b { display:block; color:white; font-size:1.5rem; line-height:1.1; }
.skief-directory .sk-total span { font-size:.74rem; color:#e1eaf2; }
.skief-directory .sk-tools { margin:18px 0; display:grid; grid-template-columns:minmax(180px,1fr) minmax(180px,240px); gap:12px; }
.skief-directory input, .skief-directory select { width:100%; min-height:46px; padding:10px 14px; border:1px solid #cbd5df; border-radius:10px; background:#fff; color:var(--sk-ink); font:inherit; font-size:.94rem; text-align:left; }
.skief-directory input:focus-visible, .skief-directory select:focus-visible, .skief-directory button:focus-visible { outline:3px solid var(--sk-gold); outline-offset:2px; }
.skief-directory .sk-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 23px; }
.skief-directory .sk-tabs button { cursor:pointer; background:#f3f6f9; border:1px solid #dce4ec; color:var(--sk-blue); border-radius:99px; padding:9px 16px; font:inherit; font-size:.88rem; font-weight:650; }
.skief-directory .sk-tabs button[aria-pressed="true"] { background:var(--sk-blue); border-color:var(--sk-blue); color:#fff; }
.skief-directory .sk-section { margin:24px 0 30px; }
.skief-directory .sk-section-title { display:flex; align-items:center; gap:12px; margin-bottom:14px; border-bottom:1px solid #e1e7ed; padding-bottom:12px; text-align:left; }
.skief-directory .sk-section-title h3 { margin:0; font-size:1.22rem; font-weight:700; text-align:left; }
.skief-directory .sk-section-title .sk-count { color:var(--sk-muted); font-size:.82rem; }
.skief-directory .sk-mark { width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background:var(--sk-blue); color:#fff; font-size:1.1rem; font-weight:750; border-bottom:3px solid var(--sk-gold); }
.skief-directory .sk-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.skief-directory .sk-card { display:flex; gap:14px; align-items:center; min-width:0; padding:12px; border:1px solid #dce3ea; border-radius:14px; background:#fff; box-shadow:0 3px 14px rgba(3,34,65,.04); text-align:left; transition:transform .2s,box-shadow .2s,border-color .2s; }
.skief-directory .sk-card:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(3,34,65,.10); border-color:#b6c8d9; }
.skief-directory .sk-photo { flex:0 0 82px; width:82px; height:105px; border-radius:9px; overflow:hidden; background:#e8eef3; }
.skief-directory .sk-photo picture, .skief-directory .sk-photo img { display:block; width:100%; height:100%; }
.skief-directory .sk-photo img { object-fit:cover; object-position:center top; }
.skief-directory .sk-details { flex:1; min-width:0; text-align:left; }
.skief-directory .sk-name { margin:0 0 3px; color:var(--sk-ink); font-size:1.02rem; line-height:1.25; font-weight:750; text-align:left; }
.skief-directory .sk-country { margin:0 0 8px; color:var(--sk-muted); font-size:.8rem; text-align:left; }
.skief-directory .sk-license { font-size:.77rem; color:#475569; margin-bottom:8px; text-align:left; }
.skief-directory .sk-license b { font-weight:700; color:var(--sk-blue); }
.skief-directory .sk-bottom { display:flex; flex-wrap:wrap; gap:6px; align-items:center; text-align:left; }
.skief-directory .sk-badge { padding:4px 7px; background:#edf3f8; color:var(--sk-blue); border-radius:6px; font-size:.75rem; font-weight:700; white-space:nowrap; }
.skief-directory .sk-expiry { color:#657386; font-size:.73rem; white-space:nowrap; }
.skief-directory .sk-empty { background:#f4f7fa; padding:24px; border-radius:12px; color:var(--sk-muted); text-align:center; }
[hidden].sk-hidden, .skief-directory [hidden] { display:none !important; }
@media(max-width:760px) { .skief-directory .sk-grid { grid-template-columns:1fr; } }
@media(max-width:520px) { .skief-directory .sk-head { padding:20px; } .skief-directory .sk-tools { grid-template-columns:1fr; } .skief-directory .sk-photo { flex-basis:72px; width:72px; height:94px; } .skief-directory .sk-card { gap:10px; padding:10px; } .skief-directory .sk-expiry { width:100%; } }
@media(prefers-reduced-motion:reduce) { .skief-directory .sk-card { transition:none; } }

/* Directory state visibility and errors */
.skief-directory [hidden] { display: none !important; }
.skief-directory .sk-error { padding: 18px; border: 1px solid #e6c6c6; border-radius: 10px; background: #fff5f5; color: #842929; text-align: left; }


/* SKIEF downloadable document attachments */
.website-documents { margin: 2rem 0; text-align: left; }
.website-documents h2 { margin: 0 0 1rem; text-align: left; }
.website-documents ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.website-documents li { padding: 1rem 1.25rem; border: 1px solid #d8dfe9; border-left: 4px solid #c5a15e; border-radius: 8px; background: #f8fafd; text-align: left; }
.website-documents li a { font-weight: 600; overflow-wrap: anywhere; }
.website-documents li span { display: block; color: #596578; font-size: .85rem; margin-top: .25rem; }

/* ========================================================================
   SKIEF News & Events – horizontal editorial listing
   Scoped to .skief-news so existing website news tiles remain unchanged.
   ======================================================================== */
.skief-news { --sn-navy:#123c63; --sn-gold:#ba9555; --sn-muted:#687582; margin:30px 0 48px; text-align:left; }
.skief-news, .skief-news * { box-sizing:border-box; }
.skief-news .skief-news-section { margin:0 0 48px; }
.skief-news .skief-news-section-head { display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:2px solid #dfe6ed; padding:0 0 18px; margin:0 0 20px; text-align:left; }
.skief-news .skief-news-kicker { display:block; margin-bottom:4px; text-transform:uppercase; letter-spacing:.13em; font-size:.72rem; font-weight:750; color:var(--sn-gold); text-align:left; }
.skief-news .skief-news-section-head h2 { font-size:1.65rem; font-weight:650; color:#18334b; margin:0 0 4px; text-align:left !important; }
.skief-news .skief-news-section-head p { margin:0; color:var(--sn-muted); font-size:.93rem; text-align:left !important; }
.skief-news .skief-news-count { flex-shrink:0; display:inline-block; padding:7px 12px; background:#eef3f8; color:var(--sn-navy); border-radius:50px; font-weight:650; font-size:.8rem; white-space:nowrap; }
.skief-news .skief-news-list { display:grid; gap:15px; }
.skief-news .skief-news-row { display:grid; grid-template-columns:92px 178px minmax(0,1fr); gap:20px; align-items:stretch; padding:16px; border:1px solid #dce3e9; border-radius:12px; background:#fff; box-shadow:0 3px 14px rgba(19,49,77,.045); transition:border-color .2s, box-shadow .2s, transform .2s; text-align:left; min-width:0; }
.skief-news .skief-news-row:hover { border-color:#c1cfdc; box-shadow:0 8px 24px rgba(19,49,77,.10); transform:translateY(-2px); }
.skief-news .skief-news-row--upcoming { border-left:4px solid var(--sn-gold); }
.skief-news .skief-news-row--past { border-left:4px solid #b3c1cd; }
.skief-news .skief-news-date { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border-radius:9px; background:#edf3f8; color:var(--sn-navy); min-height:120px; text-align:center; }
.skief-news .skief-news-row--upcoming .skief-news-date { background:#f8f1e5; }
.skief-news .skief-news-day { font-size:2rem; font-weight:750; line-height:1; color:inherit; }
.skief-news .skief-news-month { font-size:.79rem; font-weight:750; letter-spacing:.12em; color:inherit; }
.skief-news .skief-news-year { font-size:.76rem; color:#667585; }
.skief-news .skief-news-media { display:block; width:100%; min-height:120px; border-radius:9px; overflow:hidden; background:#e8eef3; }
.skief-news .skief-news-media picture, .skief-news .skief-news-media img { display:block; width:100%; height:100%; }
.skief-news .skief-news-media img { max-height:185px; object-fit:cover; object-position:center; }
.skief-news .skief-news-row--no-image { grid-template-columns:92px minmax(0,1fr); }
.skief-news .skief-news-body { min-width:0; align-self:center; text-align:left !important; }
.skief-news .skief-news-eyebrow { display:block; text-transform:uppercase; letter-spacing:.09em; color:#9a793f; font-weight:750; font-size:.68rem; margin:0 0 5px; text-align:left; }
.skief-news .skief-news-row--past .skief-news-eyebrow { color:#718194; }
.skief-news .skief-news-body h3 { margin:0 0 6px; font-size:1.18rem; line-height:1.3; font-weight:700; text-align:left !important; }
.skief-news .skief-news-body h3 a, .content_center .skief-news .skief-news-body h3 a { color:#18334b !important; text-align:left !important; }
.skief-news .skief-news-body h3 a:hover { text-decoration:underline; }
.skief-news .skief-news-meta, .content_center .skief-news .skief-news-meta { font-size:.83rem !important; font-weight:600; color:#687582; margin:0 0 8px; text-align:left !important; }
.skief-news .skief-news-description, .content_center .skief-news .skief-news-description { font-size:.91rem !important; color:#526171; line-height:1.55; margin:0 0 10px; text-align:left !important; }
.skief-news .skief-news-more, .content_center .skief-news .skief-news-more { display:inline-block; font-size:.87rem !important; color:#0765ac !important; font-weight:700; text-align:left !important; }
.skief-news .skief-news-more span { margin-left:3px; }
.skief-news .skief-news-empty, .content_center .skief-news .skief-news-empty { padding:24px; margin:0; border:1px dashed #c9d5e0; background:#f6f9fc; border-radius:10px; color:#627387; text-align:left !important; }
.skief-news .skief-news-section--archive { padding-top:10px; }
@media (max-width:760px) {
  .skief-news .skief-news-row { grid-template-columns:78px 132px minmax(0,1fr); gap:13px; padding:12px; }
  .skief-news .skief-news-row--no-image { grid-template-columns:78px minmax(0,1fr); }
  .skief-news .skief-news-date, .skief-news .skief-news-media { min-height:110px; }
  .skief-news .skief-news-day { font-size:1.65rem; }
  .skief-news .skief-news-body h3 { font-size:1.04rem; }
}
@media (max-width:560px) {
  .skief-news .skief-news-section-head { align-items:flex-start; }
  .skief-news .skief-news-section-head h2 { font-size:1.4rem; text-align:left !important; }
  .skief-news .skief-news-section-head p { font-size:.84rem !important; }
  .skief-news .skief-news-count { font-size:.72rem; padding:6px 9px; }
  .skief-news .skief-news-row { grid-template-columns:70px minmax(0,1fr); gap:12px; }
  .skief-news .skief-news-row--no-image { grid-template-columns:70px minmax(0,1fr); }
  .skief-news .skief-news-date { grid-row:1 / span 2; min-height:90px; }
  .skief-news .skief-news-media { height:145px; min-height:0; }
  .skief-news .skief-news-body { grid-column:2; }
  .skief-news .skief-news-media img { max-height:none; }
}
@media (prefers-reduced-motion:reduce) { .skief-news .skief-news-row { transition:none; } }

/* SKIEF contact / company details — lightweight public-facing page */
.skc-contact{width:100%;margin:26px 0 42px;color:#283747;text-align:left!important}
.skc-contact,.skc-contact *{box-sizing:border-box}
.skc-contact-heading{margin:0 0 24px;padding:0 0 20px;border-bottom:1px solid #e2e7ec;text-align:left!important}
.skc-contact .skc-kicker{display:block;margin-bottom:7px;color:#8a7141;font-size:.75rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.skc-contact .skc-contact-heading h2{margin:0 0 8px;font-size:1.65rem;font-weight:600;color:#183149;text-align:left!important}
.skc-contact .skc-contact-heading p{margin:0;max-width:720px;color:#617180;text-align:left!important}
.skc-contact-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;align-items:start}
.skc-contact-side{display:grid;gap:18px;min-width:0}
.skc-contact-panel{min-width:0;padding:26px;border:1px solid #e0e6ed;border-radius:14px;background:#fff;box-shadow:0 3px 14px rgba(20,40,60,.035);text-align:left!important}
.skc-contact-primary{border-top:3px solid #b89a5e}
.skc-panel-title{display:flex;gap:12px;align-items:center;margin-bottom:16px;text-align:left!important}
.skc-number{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:9px;background:#eef2f5;color:#26455c;font-size:.75rem;font-weight:700}
.skc-contact .skc-panel-title h3{margin:0;font-size:1.17rem;font-weight:650;color:#193247;text-align:left!important}
.skc-contact-block+.skc-contact-block{margin-top:22px;padding-top:20px;border-top:1px solid #e8edf1}
.skc-contact .skc-contact-block h4{margin:0 0 11px;font-size:.96rem;font-weight:650;color:#283c4c;text-align:left!important}
.skc-facts{margin:0}
.skc-facts>div{display:grid;grid-template-columns:132px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #f0f2f5;text-align:left!important}
.skc-facts>div:last-child{border-bottom:0}
.skc-facts dt{color:#718090;font-size:.85rem;text-align:left!important}
.skc-facts dd{margin:0;color:#2c3e4d;font-size:.94rem;overflow-wrap:anywhere;text-align:left!important}
.skc-contact address{display:grid;gap:3px;margin:0 0 14px;font-size:.97rem;line-height:1.5;color:#2c3e4d;font-style:normal;text-align:left!important}
.skc-contact .skc-office{margin-top:14px}
.content_center .skc-contact a,.skc-contact a{font-size:inherit!important;text-align:left!important;overflow-wrap:anywhere}
.content_center .skc-contact .skc-action,.skc-contact .skc-action{display:inline-block;padding:9px 14px;border:1px solid #d8e2ea;border-radius:8px;background:#f6f9fb;color:#1761a3!important;font-size:.87rem!important;font-weight:600;text-decoration:none!important}
.skc-contact .skc-social-note{margin:0 0 12px;color:#6f7c87;text-align:left!important;font-size:.88rem!important}
.skc-social-links{display:flex;flex-wrap:wrap;gap:9px}
.content_center .skc-contact .skc-social-links a,.skc-social-links a{display:inline-flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #dae3eb;border-radius:8px;background:#f8fafc;font-size:.88rem!important;font-weight:550;text-decoration:none!important}
.skc-social-links a span{color:#6f7f8c}
.skc-contact .skc-muted{padding:16px;border:1px solid #e3e7eb;border-radius:10px;background:#f8fafb;color:#697885;text-align:left!important}
@media(max-width:780px){.skc-contact-grid{grid-template-columns:1fr}}
@media(max-width:480px){.skc-contact-panel{padding:18px}.skc-facts>div{grid-template-columns:1fr;gap:2px}.skc-contact .skc-contact-heading h2{font-size:1.4rem}}
