@charset "UTF-8";

/*
 * TC SHARED CONTENT
 *
 * Migration:
 * TC-007B — Product catalogue card styling extracted
 * from override.css without intentional visual changes.
 *
 * Dependencies:
 * - Shared palette variables in tc-shell.css.
 * - Existing global foundations.
 * - dynamicHeight.js for equal-height behaviour.
 * - Existing page-specific inline and embedded overrides.
 *


 * TC-007C — Callout panels extracted from override.css.
 * TC-007D — Breadcrumb styling extracted from override.css.
 * TC-008A — General content links migrated and recoloured.
 */

/* =========================================================
   LEGACY SCREEN FOUNDATIONS
   Migrated from mobile_port.css.
   Retained for existing markup and component fallbacks.
   ========================================================= */

@media screen and (min-width: 0px) {

  /* Global screen heading defaults */

  /* Shared control defaults */

  /* Legacy form containers, labels, help icons and tables */

  /* Legacy content-link styling */

}


/* =========================================================
   SHARED FOUNDATIONS AND LEGACY SPRY SUPPORT
   TC-074 — Extracted from override.css.

   Original declarations and all-media scope preserved.
   Kept before component foundations and modern overrides.
   ========================================================= */

input[type="text"] {
  padding: 8px;
  border: none;
  border-radius: 5px;
}        

hr {width: 100%;}


form {
  max-width: 800px;
  margin-top: 20px;
}



/* Make all form elements respect box-sizing */
form * {
  box-sizing: border-box;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

    
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}    
    

select:disabled,
input:disabled {
  background-color: #eee;
  color: #777;
}


.CollapsiblePanelTab {
    background-color: #F2F2F2;
    border-bottom: solid 0px #CCC;
    margin-top: 0px;
    padding: 2px 7px;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.CollapsiblePanelOpen .CollapsiblePanelTab {
    background-image: none;
    background-color: #F2F2F2;
    border: 1px solid #999;
    border-radius: 5px;
    height: 20px;
}

.CollapsiblePanelClosed .CollapsiblePanelTab {
    background-image: none;
    background-color: #F2F2F2;
    border: 1px solid #999;
    border-radius: 5px;
    height: 20px;
}

/* Closed panel */
.CollapsiblePanelClosed .openText {
    display: inline;
}

.CollapsiblePanelClosed .closeText {
    display: none;
}

/* Open panel */
.CollapsiblePanelOpen .openText {
    display: none;
}

.CollapsiblePanelOpen .closeText {
    display: inline;
}


/* =========================================================
   LEGACY CONTENT AND FORM FOUNDATIONS
   TC-053 — Extracted from mobile_port.css.

   Retained for existing markup, conditional fields and
   fallbacks. Modern component overrides follow below.
   ========================================================= */

@media screen and (min-width: 0px) {

.question {float:right;}
.question2 {float:right; margin-top:-15px;}

a.content-link-general:link {color:#333; line-height:25px; font-size:14px; margin-bottom: 15px; text-decoration: underline; }

.formitemcontainer {

	/*width: 23.5%;*/
	width:220px;
	/*min-width:150px;*/
	float:left;
	min-height:54px;
	border: 1px solid #E6E0DE;
	border-radius: 5px;
	margin:5px;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #666;
	padding: 5px;
	text-align:left;
	background:#fdfcfc;
}

.formtable1 {

	padding:3px;
	text-align:center;
	border: solid #333;
	border-width:0 0 thin 0;
}

.formtable2 {

	padding:3px;
	text-align:left;
	border: solid #333;
	border-width:0 0 thin 0;
}

.formitemcontainer1 {

	/*width: 23.5%;*/
	width:220px;
	/*min-width:150px;*/
	float:left;
	min-height:54px;
	border: 1px solid #E6E0DE;
	border-radius: 5px;
	margin:5px;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #666;
	padding: 5px;
	text-align:left;
	background:#fdfcfc;
	display: none;
}

.enquiry_with_info {
	margin: 0px 0px 13px 0px;
	float:left;
	font-size:12px;
	padding:0px;
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	text-align:left;
	font-weight:bold;
}

.enquiry_no_info {
	margin: 0px;
	font-size:12px;
	padding:0px;
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	text-align:left;
	font-weight:bold;
}

}

/* Existing all-media adjustments — moved from override.css */
.formitemcontainer input[type="text"] {
  padding: 2px;
  border: 1px solid #555;
  border-radius: 1px;
}

.formitemcontainer {
  min-height: 65px;
}


/* =========================================================
   PRODUCT CARDS — LINK STATES
   TC-004B: migrated from tcmain.css without visual changes.
   ========================================================= */

a.secondlevelcontainer:link,
a.secondlevelcontainer:visited {
  color: var(--tc-muted);
  text-decoration: none;
}

a.secondlevelcontainer:hover {
  color: var(--tc-ink);
  text-decoration: none;
  background: var(--tc-soft);
  border-color: var(--tc-primary);
}

.secondlevelcontainer {
    width: 170px;
    float: left;
    box-sizing: border-box;
    border: 1px solid var(--tc-border);
    border-radius: 5px;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
line-height: 1.4;
    color: var(--tc-muted);
    padding: 5px;
    text-align: center;
    background: var(--tc-white);
    cursor: pointer;
    display: block; /*change to flex?*/
    flex-direction: column;
}

/* Stack content and push the action wrapper to the bottom.
   Limited to div cards containing a product-bottom wrapper. */
div.secondlevelcontainer:has(> .product-bottom) {
  display: flex;
  flex-direction: column;
}

div.secondlevelcontainer > .product-bottom {
  margin-top: auto;
}


@media screen and (min-width: 0px) {
  .secondlevelcontainer {
    min-height: 250px;
  }
}

.secondlevelcontainer:hover {
  color: var(--tc-ink);
  background: var(--tc-soft);
  border-color: var(--tc-primary);
  text-decoration: none;
}

.secondlevelcontainer img {
    margin: 0px auto;
}

.secondlevelcontainer:hover:has(.btn-cart:hover) {
    background-color: inherit !important;
}


/* Support both existing card-title formats. */
.secondlevelcontainer h3,
.secondlevelcontainer > b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tc-ink);
}

/* =========================================================
   CALLOUT PANELS
   TC-007C — Extracted from override.css without changes.
   ========================================================= */
.callout-box {
  background-color: var(--tc-soft);
border-left: 4px solid var(--tc-primary);
  padding: 1em;
  margin-bottom: 1.5em;
  font-size: 1.1em;
  margin-top: 15px;
  line-height: 1.2em;
    max-width: 680px;
    color: var(--tc-ink);
}
.callout-box strong {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.25em;
}
.callout-box p {padding-bottom: 10px;
}  

/* Optional full-content-width callout */
.callout-box.callout-box--wide {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Reading width for both plain and grouped callout content */
.callout-box--wide > strong,
.callout-box--wide > p,
.callout-box--split > div > strong,
.callout-box--split > div > p {
  max-width: 80ch;
}

/* Allow grouped content to shrink within desktop columns */
.callout-box--split > div {
  min-width: 0;
}

/* Two columns only when the main-content area has enough room */
@media screen and (min-width: 1100px) {
  .callout-box.callout-box--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }
}

/* Guide promotion within landing-page content */
.callout-box.callout-box--guide {
  clear: both;
  margin: 20px 0;
  line-height: 1.5;
}

.callout-box--guide > p {
  margin: 0;
  padding-bottom: 0;
}

/* =========================================================
   BREADCRUMBS
   TC-006A — Consolidated from tcmain.css and mobile_port.css.
   Existing screen-only layout preserved.
   ========================================================= */

@media screen and (min-width: 0px) {
  .breadcrumbs {
    float: left;
    width: 98%;
    padding: 5px;
      margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: var(--tc-ink);
    text-align: left;
  }

  .breadcrumbs a:link,
  .breadcrumbs a:visited {
    color: var(--tc-primary);
    text-decoration: none;
  }

  .breadcrumbs a:hover,
  .breadcrumbs a:focus {
    text-decoration: underline;
  }
}

/* =========================================================
   GENERAL CONTENT LINKS
   TC-008A / TC-008B
   Migrated from tcmain.css and palette updated.
   Original all-media scope preserved.
   ========================================================= */

a.general:link,
a.general:visited {
  color: var(--tc-primary);
  text-decoration: none;
}



a.general:hover,
a.general:focus {
  text-decoration: underline;
}

/* =========================================================
   WHITE UTILITY LINKS
   TC-008C — Migrated from tcmain.css.
   Original all-media scope preserved.
   For use on backgrounds that provide sufficient contrast.
   ========================================================= */

a.white:link,
a.white:visited {
  color: var(--tc-white);
  text-decoration: none;
}

a.white:hover,
a.white:focus {
  text-decoration: underline;
}

/* =========================================================
   CONNECTOR CATALOGUE CARDS
   TC-009A — Extracted from legacy stylesheets.
   TC-009B — Aligned with the accepted product-card palette
   and typography.

   Existing responsive widths, float layout, minimum height
   and box-sizing behaviour preserved.
   ========================================================= */

/* Original all-media link and image scope preserved */
a.connectorlevelcontainer:link,
a.connectorlevelcontainer:visited {
  color: var(--tc-muted);
  text-decoration: none;
}

a.connectorlevelcontainer:hover {
  color: var(--tc-ink);
  text-decoration: none;
  background: var(--tc-soft);
  border-color: var(--tc-primary);
}

.connectorlevelcontainer img {
  margin: 0 auto;
}

/* Screen foundation */
@media screen and (min-width: 0px) {
  .connectorlevelcontainer {
    width: 260px;
    float: left;
    min-height: 140px;
    border: 1px solid var(--tc-border);
    border-radius: 5px;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: var(--tc-muted);
    padding: 5px;
    text-align: center;
    background: var(--tc-white);
  }
}

/* Intermediate screen width */
@media screen and (min-width: 481px) {
  .connectorlevelcontainer {
    width: 190px;
  }
}

/* Desktop */
@media screen and (min-width: 769px) {
  .connectorlevelcontainer {
    width: 160px;
  }
}

/* Match existing product-card title styling.
   Direct-child b also includes the connector part code. */
.connectorlevelcontainer h3,
.connectorlevelcontainer > b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tc-ink);
}

/* =========================================================
   RELATED PRODUCTS AND ACCESSORIES
   TC-011A — In-flow replacement trial.

   Independent of legacy .rpdiv / .relatedproducts rules.
   No randomisation or equal-height JavaScript required.
   ========================================================= */

.tc-related {
  clear: both;
  display: flow-root;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 24px 0;
}

.tc-related > h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--tc-ink);
}

.tc-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

a.tc-related__card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  max-width: 480px;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--tc-border);
  border-radius: 5px;
  background: var(--tc-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

a.tc-related__card:link,
a.tc-related__card:visited {
  color: var(--tc-muted);
  text-decoration: none;
}

a.tc-related__card:hover,
a.tc-related__card:focus-visible {
  background: var(--tc-soft);
  border-color: var(--tc-primary);
  color: var(--tc-ink);
  text-decoration: none;
}

a.tc-related__card:focus-visible {
  outline: 2px solid var(--tc-primary);
  outline-offset: 3px;
}

.tc-related__card > img {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.tc-related__text {
  flex: 1;
  min-width: 0;
}

.tc-related__text h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tc-ink);
}

.tc-related__text p {
  margin: 0 0 8px;
  padding: 0;
}

.tc-related__link {
  color: var(--tc-primary);
}

.tc-related__card:hover .tc-related__link,
.tc-related__card:focus-visible .tc-related__link {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .tc-related__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   FREQUENTLY ASKED QUESTIONS
   TC-012A — Extracted from override.css.
   Existing appearance and all-media scope preserved.
   ========================================================= */

.faq-section {
  font-size: 13px;
  line-height: 17px;
}

.faq-section ul {
  list-style: none;
}

.faq-section li {
  margin-top: 10px;
}

/* =========================================================
   PRODUCT ACTION LINKS
   TC-013B — Consolidated from mobile_port.css and override.css.

   TC-013C — Consistent hover and keyboard-focus treatment.
WebP icons retained across normal and interaction states.
Existing dimensions, spacing and tooltip behaviour preserved.
   Tooltip wording below is specific to the Irish site.
   ========================================================= */

/* Screen foundations: previously in mobile_port.css */
@media screen and (min-width: 0px) {

  .enquiry,
  .buy,
  .datasheet {
    height: 28px;
    float: left;
    margin: 0;
    padding-left: 26px;
    padding-right: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: left;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    background-repeat: no-repeat;
    background-position: left center;
  }

  .enquiry {
    background-image: url("enquiry_icon.png");
  }

  .buy {
    background-image: url("buyonline.png");
    position: relative;
  }

  .datasheet {
    background-image: url("datasheet.png");
  }

/* Consistent action-link interaction.
   Change background colour only: preserve icon and sizing. */
a.enquiry:hover,
a.buy:hover,
a.datasheet:hover,
a.enquiry:focus-visible,
a.buy:focus-visible,
a.datasheet:focus-visible {
  background-color: var(--tc-soft);
  color: var(--tc-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.enquiry:focus-visible,
a.buy:focus-visible,
a.datasheet:focus-visible {
  outline: 2px solid var(--tc-primary);
  outline-offset: 3px;
}

  /* Existing buy-link tooltip */
  .buy:hover::after {
    content: "Standard stock items are available to buy online.\A Click to view them at tcdirect.ie";
    position: fixed;
    line-height: 1.5;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    white-space: pre;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease-in-out;
    margin-top: -50px;
    margin-left: -50px;
  }

  .buy::after {
    content: "";
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
  }
/* Separate adjacent actions without enlarging hover backgrounds */
a.enquiry,
a.buy,
a.datasheet {
  margin-right: 12px;
}
    
}

/* Existing all-media overrides: previously in override.css */
.enquiry,
.buy,
.datasheet {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 33px;
  font-size: 14px;
  background-size: 28px;
}

.enquiry {
  background-image: url("enquiry-icon.webp");
}

.buy {
  background-image: url("buyonline.webp");
}

.datasheet {
  background-image: url("datasheet.webp");
}


/* =========================================================
   ADDITIONAL PRODUCT ACTION LINKS
   TC-014 — Consolidated and aligned with the main actions.

   Existing PNG image assets retained.
   Original screen-only scope preserved.
   ========================================================= */

@media screen and (min-width: 0px) {

  .whatsapp,
  .atex,
  .iecex {
    height: 28px;
    float: left;
    margin: 0;
    padding: 10px 15px 10px 33px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: left;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    background-size: 28px;
    background-repeat: no-repeat;
    background-position: left center;
  }

  a.whatsapp,
  a.atex,
  a.iecex {
    margin-right: 12px;
  }

  .whatsapp {
    background-image: url("whatsapp_icon.png");
  }

  .atex {
    background-image: url("ATEX_icon.png");
  }

  .iecex {
    background-image: url("IECEx_icon.png");
  }

  /* Preserve each PNG icon and its size during interaction */
  a.whatsapp:hover,
  a.atex:hover,
  a.iecex:hover,
  a.whatsapp:focus-visible,
  a.atex:focus-visible,
  a.iecex:focus-visible {
    background-color: var(--tc-soft);
    color: var(--tc-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  a.whatsapp:focus-visible,
  a.atex:focus-visible,
  a.iecex:focus-visible {
    outline: 2px solid var(--tc-primary);
    outline-offset: 3px;
  }
}

/* =========================================================
   TEXT CONTAINERS
   TC-015 — Consolidated from mobile_port.css and desktop.css.

   Existing typography, spacing, floats and column behaviour
   preserved. Unused .textcontainer2 retired.
   ========================================================= */

/* Screen foundations: previously in mobile_port.css */
@media screen and (min-width: 0px) {

  .textcontainer,
  .textcontainer3 {
    float: left;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    padding: 5px;
    text-align: left;
  }

  .textcontainer3 {
    widows: 3;
  }
}

/* Desktop columns: previously in desktop.css */
@media screen and (min-width: 769px) {

  .textcontainer3 {
    column-count: 3;
  }
}

/* =========================================================
   BULLET CONTENT CONTAINERS
   TC-016 — Consolidated from mobile_port.css, desktop.css
   and override.css without intentional visual changes.

   Existing widths, floats, spacing, typography and media
   scopes preserved. List-content styling follows below.
   ========================================================= */

/* Screen foundations: previously in mobile_port.css */
@media screen and (min-width: 0px) {

  .bulletcontainer,
  .bulletcontainer2 {
    float: left;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    padding: 5px;
    text-align: left;
    background: #FFF;
  }

  .bulletcontainer2 {
    max-width: 340px;
  }
}

/* Desktop behaviour: previously in desktop.css */
@media screen and (min-width: 769px) {

  .bulletcontainer {
    max-width: 370px;
    clear: both;
  }

  .bulletcontainer2 {
    max-width: 370px;
    margin: 5px 0 0 15px;
  }

  /*
   * These two variants originally had desktop-only rules.
   * Do not extend their foundation styling to mobile here.
   */
  .bulletcontainer3,
  .bulletcontainer4 {
    float: left;
    clear: both;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    padding-left: 5px;
    text-align: left;
    background: #FFF;
  }

  .bulletcontainer3 {
    max-width: 600px;
  }

  .bulletcontainer4 {
    max-width: 900px;
  }
}

/* Two-column variant: original all-media scope preserved */
.bulletcontainer3-2col {
  max-width: 100%;
  float: left;
  clear: both;
  column-count: 2;
  column-gap: 80px;
  margin: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #666;
  padding-left: 5px;
  text-align: left;
  background: #FFF;
}

/* Original media scope preserved */
@media (max-width: 768px) {

  .bulletcontainer3-2col {
    column-count: 1;
  }
}

/* =========================================================
   BULLET LISTS
   TC-017 — Consolidated from mobile_port.css and override.css.
   Existing appearance and media scopes preserved.
   ========================================================= */

/*
 * Restyling deferred: see TC-019 in desktop/website-css-migration.md.
 * Existing indentation retained after trial rollback.
 */

/* Screen foundations: previously in mobile_port.css */
@media screen and (min-width: 0px) {

  .bulletplaintext {
    list-style-type: square;
    list-style-position: inside;
    color: #333;
    line-height: 15px;
    font-size: 12px;
    text-indent: -12px;
  }

  ul.bullet1 {
    margin-left: 10px;
    list-style-type: square;
    list-style-position: inside;
    color: #999;
    line-height: 15px;
    font-size: 13px;
    text-indent: -12px;
    display: inline-block;
  }

  ul.bullet1 li {
    margin-left: 5px;
    margin-bottom: 7px;
    list-style-position: outside;
  }

  ul.bullet1 li span {
    color: #333;
    font-size: 14px;
    margin-left: 12px;
    line-height: 17px;
  }
}

/* Existing all-media override: previously in override.css */
ul.bullet1 {
  line-height: 1.6;
}


/* =========================================================
   LEGACY PRODUCT CONTENT CONTAINER
   TC-018 — Extracted from mobile_port.css.

   Used for images, action links and text descriptions.
   Existing declarations and screen-only scope preserved.
   ========================================================= */

@media screen and (min-width: 0px) {

  .productpageimagecontainer {
    clear: both;
    float: left;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #666;
    padding: 5px;
    text-align: left;
    background: #FFF;
    overflow-x: auto;
    position: relative;
  }
}

/* =========================================================
   LEGACY CABLE-TABLE NOTES
   TC-018B — Extracted from navigation.css.
   Original selector specificity and all-media scope preserved.
   ========================================================= */

#container #content .productpageimagecontainer .cabletable tr .data_notes p {
  font-weight: bold;
}

/* =========================================================
   LEGACY CONNECTOR TEXT CONTAINER
   TC-021 — Consolidated from mobile_port.css and desktop.css.

   Used for connector specification text.
   Existing widths, floats and clearing behaviour preserved.
   Text/table layout redesign deferred.
   ========================================================= */

@media screen and (min-width: 0px) {

  .connectorcontainer {
    float: left;
    margin: 5px;
    margin-top: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    padding: 5px;
    text-align: left;
    background: none;
  }
}

@media screen and (min-width: 769px) {

  .connectorcontainer {
    max-width: 350px;
    clear: both;
  }
}

/* =========================================================
   LEGACY RIGHT-DETAIL CONTAINER
   TC-022 — Consolidated from the responsive stylesheets.

   Existing float behaviour, dimensions and appearance
   preserved. Page-specific inline overrides remain in place.
   ========================================================= */

/* Screen foundation: previously in mobile_port.css */
@media screen and (min-width: 0px) {

  .rightdetail {
    width: 100%;
    float: left;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333;
    padding-left: 5px;
    text-align: left;
    background-color: #F5F5F5;
  }
}

/*
 * The former mobile_land.css rule repeated foundation
 * declarations, so no separate 481px rule is required.
 */

/* Desktop behaviour: previously in desktop.css */
@media screen and (min-width: 769px) {

  .rightdetail {
    max-width: 400px;
    float: right;
  }
}

/* =========================================================
   LEGACY CONTENT TEXT
   TC-023 — Consolidated from mobile_port.css and tcmain.css.

   Existing typography and media scopes preserved.
   No heading-layout, list-indentation or HTML changes.
   ========================================================= */

/* Previously in mobile_port.css */
@media screen and (min-width: 0px) {

  .reference_text {
    color: #333;
    line-height: 17px;
    font-size: 14px;
    margin-bottom: 15px;
  }

  .subhead {
    color: #333;
    line-height: 15px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
  }
}

/* Previously duplicated within tcmain.css's 481px query */
@media screen and (min-width: 481px) {

  .spec {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    text-align: left;
  }
}

/* =========================================================
   REFERENCE LINKS
   TC-031 — Accepted design with original-markup compatibility.

   Recognises:
   - Existing .tc-reference-links wrappers
   - .bulletcontainer3 containing direct-child .reference_menu

   No additional HTML classes required.
   Narrow !important overrides handle legacy inline heading
   colours, font sizes and margins.
   ========================================================= */

@media screen and (min-width: 0px) {

  /* Full-width reference-section grid */
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) {
    float: none;
    clear: both;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    margin: 20px 0;
    padding: 0;
    background: transparent;

    display: grid;
    grid-template-columns:
      repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
    align-items: start;
  }

  /*
   * Section heading.
   * Override the original inline 14px size and margins.
   */
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) > .ref_h3 {
    grid-column: 1 / -1;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tc-ink) !important;
  }

  /* Reference groups */
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) > .reference_menu {
    float: none;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--tc-border);
    border-radius: 5px;
    background: var(--tc-soft);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--tc-ink);
    text-align: left;
  }

  /* Override legacy inline green group-heading colours */
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) > .reference_menu > strong {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--tc-ink) !important;
  }

  /* List foundation */
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 {
    list-style: none;
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
  }

  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li {
    display: block;
    margin: 0;
    padding: 0;
  }

  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li + li {
    margin-top: 8px;
  }

  /* Links */
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li > a {
    display: block;
    margin: 0;
    padding: 2px 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li > a:link,
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li > a:visited {
    color: var(--tc-primary);
    text-decoration: none;
  }

  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li > a:hover,
  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li > a:focus {
    color: var(--tc-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .bulletcontainer3:is(
    .tc-reference-links,
    :has(> .reference_menu)
  ) .reference_menu ul.nav4 > li > a:focus-visible {
    outline: 2px solid var(--tc-primary);
    outline-offset: 3px;
  }
}
/* =========================================================
   REFERENCE HEADINGS
   TC-025 — Migrated from tcmain.css.
   Shared ink colour; existing margins and all-media scope
   preserved.
   ========================================================= */

.ref_h2,
.ref_h3 {
  color: var(--tc-ink);
}

.ref_h2 {
  margin: 0 0 5px;
}

.ref_h3 {
  margin: 0 0 3px;
}

/* =========================================================
   LEGACY HEADING AND EMPHASIS TEXT
   TC-026 — Migrated and changed from legacy green to ink.
   Existing typography, spacing and media scopes preserved.
   ========================================================= */

/* Previously in navigation.css: all-media scope */
span.w {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 900;
  color: var(--tc-ink);
  text-decoration: none;
}

/* Previously within tcmain.css's 481px screen query */
@media screen and (min-width: 481px) {

  h2.intro {
    margin: 0;
    clear: both;
    color: var(--tc-ink);
  }

}

/* =========================================================
   LEGACY PRODUCT ENQUIRY FORMS
   TC-030I — Consolidated styling without trial classes.

   Supported structure:
   - form#form1
   - Direct-child .formitemcontainer boxes
   - Contact panel containing input[name="Company Name"]
   - Additional-information panel containing
     textarea[name="Additional Information"]

   Existing markup, Spry IDs and submitted field names retained.
   Original shared form/Spry rules remain as foundations.

   Modern enhancement requires :has() support.
   ========================================================= */

@supports selector(:has(*)) {

  @media screen and (min-width: 0px) {

    /* -----------------------------------------------------
       FORM GRID
       ----------------------------------------------------- */

    form#form1:has(> .formitemcontainer) {
      clear: both;
      width: 100%;
      max-width: 900px;
      min-width: 0;
      box-sizing: border-box;
      display: grid;
      grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 260px), 1fr));
      gap: 15px;
      align-items: start;
    }

    form#form1:has(> .formitemcontainer) > h2 {
      grid-column: 1 / -1;
    }

    form#form1:has(> .formitemcontainer) > br {
      display: none;
    }

    /* -----------------------------------------------------
       SHARED BOX APPEARANCE
       ----------------------------------------------------- */

    form#form1 > .formitemcontainer {
      position: relative;
      float: none;
      width: auto;
      min-width: 0;
      max-width: 100%;
      margin: 0;
      padding: 10px 12px 12px;
      box-sizing: border-box;
      border-color: var(--tc-border);
      background: var(--tc-white);
      color: var(--tc-ink);
    }

    /* Contact Details starts a new row */
    form#form1 > .formitemcontainer:has(
      > input[name="Company Name"]
    ) {
      grid-column: 1;
    }

    /* -----------------------------------------------------
       SMALL OPTION BOXES

       Exclude the contact panel and any box containing a
       direct-child textarea. Preserve their line breaks.
       ----------------------------------------------------- */

    /*
 * Remove only the first two spacing breaks immediately
 * after a small-box heading.
 * Preserve breaks between field labels, controls and notes.
 */
form#form1 > .formitemcontainer:not(
  :has(> input[name="Company Name"])
):not(:has(> textarea))
  > :is(.enquiry_with_info, .enquiry_no_info) + br,
form#form1 > .formitemcontainer:not(
  :has(> input[name="Company Name"])
):not(:has(> textarea))
  > :is(.enquiry_with_info, .enquiry_no_info) + br + br {
  display: none;
}

    form#form1 > .formitemcontainer:not(
      :has(> input[name="Company Name"])
    ):not(:has(> textarea))
      > :is(.enquiry_with_info, .enquiry_no_info) {
      display: block;
      float: none;
      box-sizing: border-box;
      padding: 0 26px 0 0;
      margin: 0 0 10px;
      min-height: 0;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--tc-ink);
    }

    /* Existing Spry help triggers */
    form#form1 > .formitemcontainer > span[id$="_trigger"] {
      position: absolute;
      top: 10px;
      right: 12px;
      display: block;
      cursor: help;
    }

    form#form1 > .formitemcontainer
      > span[id$="_trigger"] > img {
      display: block;
      float: none;
      margin: 0;
    }

    /* -----------------------------------------------------
       DIRECT-CHILD INPUTS AND SELECTS

       Excludes controls inside expanded Spry tables and
       nested honeypot containers.
       ----------------------------------------------------- */

    form#form1 > .formitemcontainer > select,
    form#form1 > .formitemcontainer
      > input:is([type="text"], [type="email"], [type="tel"]) {
      box-sizing: border-box;
      min-height: 34px;
      margin: 0;
      padding: 5px 6px;
      border: 1px solid var(--tc-muted);
      border-radius: 4px;
      background-color: var(--tc-white);
      color: var(--tc-ink);
      font-family: Arial, Helvetica, sans-serif;
      font-size: 13px;
      line-height: 1.4;
      vertical-align: top;
    }

    form#form1 > .formitemcontainer > select {
      max-width: 100%;

      /* Override legacy inline floats without HTML edits */
      float: none !important;
      clear: none !important;
    }

    /* Retain room for units and align inputs with adjacent text */
form#form1 > .formitemcontainer > input[type="text"] {
  max-width: calc(100% - 35px);
  vertical-align: middle;
}

    /* -----------------------------------------------------
       SPRY COLLAPSIBLE TABS

       Do not set height or padding on panel content:
       Spry manages its opening/closing animation.
       ----------------------------------------------------- */

    form#form1 > .formitemcontainer .CollapsiblePanelTab {
      box-sizing: border-box;
      height: auto;
      min-height: 34px;
      padding: 7px 10px;
      border: 1px solid var(--tc-border);
      border-radius: 4px;
      background-color: var(--tc-soft);
      background-image: none;
      font-size: 13px;
      line-height: 1.4;
      color: var(--tc-ink);
    }

    form#form1 > .formitemcontainer .CollapsiblePanelTab:hover {
      border-color: var(--tc-primary);
    }

    /* -----------------------------------------------------
       QUANTITY
       Existing thermocouple-form field name.
       ----------------------------------------------------- */

    form#form1 > .formitemcontainer:has(
      > input[name="Qty Required"]
    ) {
      font-size: 13px;
      line-height: 1.4;
    }

    form#form1 > .formitemcontainer:has(
      > input[name="Qty Required"]
    ) > :is(.enquiry_with_info, .enquiry_no_info) {
      padding: 0;
    }

    form#form1 > .formitemcontainer:has(
      > input[name="Qty Required"]
    ) > label {
      display: inline-block;
      margin-right: 6px;
      vertical-align: middle;
    }

    form#form1 > .formitemcontainer > input[name="Qty Required"] {
      width: 90px;
      max-width: 100%;
      vertical-align: middle;
    }

    /* -----------------------------------------------------
       CONTACT AND ADDITIONAL-INFORMATION PANELS
       ----------------------------------------------------- */

    form#form1 > .formitemcontainer:is(
      :has(> input[name="Company Name"]),
      :has(> textarea[name="Additional Information"])
    ) {
      /* Override legacy inline height:31em */
      height: auto !important;
      align-self: stretch;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 13px;
      line-height: 1.5;
      overflow-wrap: break-word;
    }

    /*
     * Keep these headings inline. Existing line breaks
     * continue to provide their spacing.
     */
    form#form1 > .formitemcontainer:is(
      :has(> input[name="Company Name"]),
      :has(> textarea[name="Additional Information"])
    ) > :is(.enquiry_with_info, .enquiry_no_info) {
      display: inline;
      float: none;
      margin: 0;
      padding: 0;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--tc-ink);
    }

    /* Contact fields fill their panel */
    form#form1 > .formitemcontainer:has(
      > input[name="Company Name"]
    ) > input:is([type="text"], [type="email"], [type="tel"]) {
      width: 100%;
      max-width: 100%;
    }

    /* Additional-information textarea */
    form#form1 > .formitemcontainer
      > textarea[name="Additional Information"] {
      box-sizing: border-box;
      width: 100%;
      max-width: 100%;
      min-height: 130px;
      margin: 0;
      padding: 8px;
      border: 1px solid var(--tc-muted);
      border-radius: 4px;
      background: var(--tc-white);
      color: var(--tc-ink);
      font-family: Arial, Helvetica, sans-serif;
      font-size: 13px;
      line-height: 1.5;
      resize: vertical;
      vertical-align: top;
    }

    /* Preserve the submit control's existing inline width */
    form#form1 > .formitemcontainer:has(
      > textarea[name="Additional Information"]
    ) > input[type="submit"] {
      box-sizing: border-box;
      max-width: 100%;
      min-height: 34px;
      padding: 6px 8px;
      border: 1px solid var(--tc-primary);
      border-radius: 4px;
      background: var(--tc-primary);
      color: var(--tc-white);
      font-family: Arial, Helvetica, sans-serif;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.4;
      cursor: pointer;
      vertical-align: middle;
    }

    form#form1 > .formitemcontainer:has(
      > textarea[name="Additional Information"]
    ) > input[type="submit"]:hover {
      background: var(--tc-ink);
      border-color: var(--tc-ink);
    }

/*
 * Remove a spacing break following a help trigger when
 * that trigger directly follows the heading, or follows
 * the heading's first spacing break.
 *
 * Preserve breaks elsewhere between fields and notes.
 */
form#form1 > .formitemcontainer:not(
  :has(> input[name="Company Name"])
):not(:has(> textarea))
  > :is(.enquiry_with_info, .enquiry_no_info)
  + span[id$="_trigger"] + br,

form#form1 > .formitemcontainer:not(
  :has(> input[name="Company Name"])
):not(:has(> textarea))
  > :is(.enquiry_with_info, .enquiry_no_info)
  + br + span[id$="_trigger"] + br {
  display: none;
}

    /* -----------------------------------------------------
       KEYBOARD FOCUS
       ----------------------------------------------------- */

    form#form1 > .formitemcontainer
      > :is(
        select,
        input[type="text"],
        input[type="email"],
        input[type="tel"]
      ):focus-visible,
    form#form1 > .formitemcontainer
      > textarea[name="Additional Information"]:focus-visible,
    form#form1 > .formitemcontainer:has(
      > textarea[name="Additional Information"]
    ) > input[type="submit"]:focus-visible,
    form#form1 > .formitemcontainer
      .CollapsiblePanelTab:focus-visible {
      outline: 2px solid var(--tc-primary);
      outline-offset: 2px;
    }

    /* -----------------------------------------------------
       INSET SELECT ARROW
       Native options list and keyboard behaviour retained.
       ----------------------------------------------------- */

    form#form1 > .formitemcontainer
      > select:not([multiple]):not([size]) {
      -webkit-appearance: none;
      appearance: none;
      padding-right: 36px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 12px 8px;
    }
  }

  /* Use the system select arrow in forced-colours modes */
  @media screen and (forced-colors: active) {

    form#form1 > .formitemcontainer
      > select:not([multiple]):not([size]) {
      -webkit-appearance: auto;
      appearance: auto;
      background-image: none;
      padding-right: 6px;
    }
  }
}

/* =========================================================
   CROSSLINKS ON DARK PANELS
   TC-035 — Consolidated from mobile_port.css.

   Parent supplies the background.
   White link text and existing layout retained.
   Original screen-only scope preserved.
   ========================================================= */

@media screen and (min-width: 0px) {

  .crosslinks {
    width: 230px;
    min-height: 20px;
    margin: 5px;
    display: inline-grid;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 900;
    color: var(--tc-white);
    padding: 5px;
    background: transparent;
  }

  a.crosslinks:link,
  a.crosslinks:visited {
    color: var(--tc-white);
    text-decoration: none;
  }

  a.crosslinks:hover,
  a.crosslinks:focus-visible {
    color: var(--tc-white);
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  a.crosslinks:focus-visible {
    outline: 2px solid var(--tc-white);
    outline-offset: 2px;
  }

  .crosslinks img {
    margin: 0 auto;
  }
}

/* =========================================================
   MOBILE CONTENTS LIST
   TC-042 — Consolidated from the responsive stylesheets.

   Existing spacing and visibility preserved.
   In-page anchors and page-specific scripts unchanged.
   ========================================================= */

@media screen and (min-width: 0px) {

  .mobile-contents-list {
    display: block;
    margin: 10px;
  }
}

@media screen and (min-width: 769px) {

  .mobile-contents-list {
    display: none;
  }
}

/* =========================================================
   LEGACY SMALL-SCREEN APPLICATION IMAGE
   TC-043 — Consolidated from responsive stylesheets.

   Class name retained for existing regional HTML.
   Image, dimensions and cropping remain page-specific.
   ========================================================= */

@media screen and (min-width: 0px) {

  .applicationstext_mobile {
    display: inline;
    margin-left: 10px;
    clear: both;
    float: left;
  }
}

@media screen and (min-width: 481px) {

  .applicationstext_mobile {
    display: none;
  }
}

/* =========================================================
   LEGACY SLIDESHOW — SHARED SPACING
   TC-044 — Consolidated from responsive stylesheets.

   Slideshow-specific CSS and JavaScript remain unchanged.
   Applies to existing .bss-slides variants.
   ========================================================= */

@media screen and (min-width: 0px) {

  .bss-slides {
    margin-top: 10px;
  }
}

@media screen and (min-width: 481px) {

  .bss-slides {
    margin-top: 0;
  }
}


/* =========================================================
   LEGACY TOOLTIP TABLE CELLS
   TC-046 — Consolidated from mobile_port.css and tcmain.css.

   Existing declarations and screen-only scope preserved.
   Spry replacement and table restyling are separate tasks.
   ========================================================= */

@media screen and (min-width: 0px) {

  .conbox {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #666;
	vertical-align: center;
	text-align: center;
	background-color: #fdfcfc;
	border: solid #E6E0DE;
	border-width:0 0 thin thin;

}

.tctypebox {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #FFF;
	vertical-align: center;
	text-align: center;
	background-color: #F2F2F2;
	border: solid #E6E0DE;
	border-width:0 0 thin thin;

}
.codebox {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #333;
	vertical-align: center;
	text-align: center;
	background-color: #fdfcfc;
	border: solid #E6E0DE;
	border-width:0 0 thin thin;

}
.form_heading1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #666;
	vertical-align: center;
	text-align: center;
	background-color: #f4f4f4;
	border: solid #E6E0DE;
	border-width:thin 0 thin thin;

}
.form_heading2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #666;
	vertical-align: center;
	text-align: center;
	background-color: #f4f4f4;
	border: solid #E6E0DE;
	border-width:thin 0 thin thin;

}
.form_heading3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #666;
	vertical-align: center;
	text-align: center;
	background-color: #f4f4f4;
	border: solid #E6E0DE;
	border-width:0 0 thin thin;

}

}

/* =========================================================
   LEGACY COLOUR-CODE TABLE
   TC-046 / TC-047 — Extracted from tcmain.css.
   Existing declarations and all-media scope preserved.
   ========================================================= */

.colourcode {
  font-size: 12px;
  color: #333333;
  width: 100%;
  border-width: 1px;
  border-color: #729ea5;
  border-collapse: collapse;
}

.colourcode th {
  font-size: 12px;
  background-color: #E6E0DE;
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  border-color: #729ea5;
  text-align: centre;
}

.colourcode tr {
  background-color: #fff;
}

.colourcode td {
  font-size: 12px;
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  border-color: #729ea5;
}

.colourcode tr:hover {
  background-color: #ffffff;
}

/* =========================================================
   LEGACY RELATED-PRODUCT SIDEBARS
   TC-048 — Consolidated from tcmain.css and the responsive
   stylesheets without intentional visual changes.

   Separate from the redesigned .tc-related component.
   Existing inline positioning and scripts remain unchanged.
   ========================================================= */

/* Original all-media link and image rules */
a.relatedproducts:link,
a.relatedproducts:visited {
  color: #666;
  text-decoration: none;
}

a.relatedproducts:hover {
  color: #333;
  text-decoration: none;
  background: #E6E0DE;
}

.relatedproducts img {
  margin: 0 auto;
}

/* Screen foundation: previously in mobile_port.css */
@media screen and (min-width: 0px) {

  .relatedproducts,
  .rpdiv {
    display: none;
  }
}

/*
 * The former mobile_land.css rules repeated display:none.
 * No separate 481px rule is required.
 */

/* Desktop: previously in desktop.css */
@media screen and (min-width: 769px) {

  .relatedproducts {
    width: 110px;
    float: left;
    clear: both;
    min-height: 125px;
    border: 1px solid #E6E0DE;
    border-radius: 5px;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    padding: 5px;
    text-align: center;
    background: #FFF;
    display: block;
  }

  .rpdiv {
    display: block;
  }
}

/* =========================================================
   LEGACY REFERENCE-MENU FOUNDATION
   TC-050 — Extracted from desktop.css.

   Original desktop screen scope preserved.
   Modern reference-section rules follow below.
   ========================================================= */

@media screen and (min-width: 769px) {

  .reference_menu {
    width: 190px;
    float: left;
    margin: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    text-align: left;
    background: none;
  }
}

/* =========================================================
   SENSOR CONFIGURATOR — FIELDSET FOUNDATIONS
   TC-057A — Extracted from override.css.

   Existing effective declarations retained.
   Applies to form sections both inside and outside form1.
   No palette, layout or behaviour changes in this step.
   ========================================================= */

.form-section {
  background: var(--tc-white);
border: 1px solid var(--tc-border);
color: var(--tc-ink);
  border-radius: 8px;
  padding: 6px 16px 16px;
  margin-bottom: 24px;
  position: relative;
}

.form-section legend {
  font-weight: 600;
  font-size: 16px;
  padding: 0 8px;
  display: block;
  width: auto;
}

.form-section label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
}

.form-section input,
.form-section select,
.form-section number,
.form-section textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 18px;
  border: 1px solid var(--tc-muted);
color: var(--tc-ink);
  border-radius: 4px;
  font-size: 14px;
  display: block;
}

.form-section select {
  background: var(--tc-soft);
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="tel"],
.form-section input[type="number"],
.form-section textarea {
  background: var(--tc-soft);
}

/* =========================================================
   SENSOR CONFIGURATOR — OPTION CARDS AND PREVIEW
   TC-057B — Extracted from override.css.

   Existing appearance and all-media scope preserved.
   Supports cards inside/outside the form and cloned previews.
   Selection and visibility remain controlled by JavaScript.
   ========================================================= */

.option-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.card {
  border: 1px solid var(--tc-border);
background: var(--tc-white);
color: var(--tc-ink);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card.selected {
  border-color: var(--tc-primary);
  box-shadow: 0 6px 20px rgba(215, 25, 32, 0.2);
}

.card img {
  margin: 0 auto;
}

.card-label {
  padding-top: 10px;
}

#selectedHeadCard {
  width: 280px;
  flex-shrink: 0;
}

/* =========================================================
   SENSOR CONFIGURATOR — SUMMARY AND HEAD OPTIONS
   TC-057C — Extracted from override.css.

   Existing appearance, positioning and all-media scope
   preserved. Visibility remains controlled by JavaScript.
   ========================================================= */

#summaryContainer {
  display: none;
  width: 100%;
  box-sizing: border-box;
  background: var(--tc-primary-soft);
border: 1px solid var(--tc-border);
color: var(--tc-ink);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  margin-top: 20px;
  position: sticky;
  top: 16px;
  z-index: 1000;
}

#sensorSummary {
  font-weight: 600;
  margin-top: 8px;
}

#headOptions summary {
  cursor: pointer;
  font-weight: 600;
  margin: 20px 0;
  background: var(--tc-soft);
border: 1px solid var(--tc-border);
color: var(--tc-ink);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
}

#headOptions summary:hover {
  color: var(--tc-primary);
}

/* =========================================================
   SENSOR CONFIGURATOR — WRAPPER AND FIELD LAYOUT
   TC-057D — Extracted from override.css.

   Existing declarations, responsive behaviour and
   all-media scope preserved.
   ========================================================= */

.form-wrapper {
  max-width: 800px;
  position: relative;
}

.helper-text {
  font-size: 13px;
  color: var(--tc-muted);
  margin-top: 6px;
}

.inline-fields {
  display: flex;
  gap: 16px;
}

.inline-fields .field-group {
  min-width: 0;
}

.inline-fields .field-group:first-child {
  flex: 1 1 50%;
}

.inline-fields .field-group:last-child {
  flex: 1 1 50%;
}

.sheath-length-group {
  position: relative;
}

.sheath-length-group input {
  width: 100%;
}

@media (max-width: 768px) {

  .inline-fields {
    flex-direction: column;
  }

  .sheath-length-group {
    max-width: 100%;
  }
}

/* Unit suffixes: mm, metres and temperature units */
.form-section .input-with-suffix {
  position: relative;
  width: 100%;
  flex: 1;
  margin-top: 18px;
}

.form-section .input-with-suffix input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 85px;
  margin-top: 0;
}

.form-section .input-with-suffix .input-suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tc-muted);
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
}

/* =========================================================
   SENSOR CONFIGURATOR — OPTIONAL ROWS AND CLEAR CONTROLS
   TC-057E — Extracted from override.css.

   Existing appearance and all-media scope preserved.
   JavaScript continues to control selection, visibility,
   required fields and disabled states.


   ========================================================= */

.optional-elements {
  margin-top: 12px;
  display: flex;
  gap: 16px;
}

/* Visual state applied by the existing configurator scripts */
.optional-elements.is-disabled {
  opacity: 0.45;
  filter: grayscale(80%);
}

.optional-elements.is-disabled select,
.optional-elements.is-disabled input {
  cursor: not-allowed;
}

/* Visibility is controlled by the existing JavaScript */
.clear-selection {
  grid-column: 1 / -1;
  padding: 0;
  margin-top: 0.25rem;
  background: none;
  border: none;
  color: var(--tc-primary);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  display: none;
}

.clear-selection:hover {
  color: var(--tc-ink);
}

/* =========================================================
   SENSOR CONFIGURATOR — REDUCED-TIP INFORMATION
   TC-057F — Extracted from override.css.

   Existing appearance and media scopes preserved.
   Visibility remains controlled through the hidden attribute
   and existing JavaScript.
   ========================================================= */

.reduced-tip-info {
  margin-top: 1em;
  padding: 1em;
  border: 1px solid var(--tc-border);
background: var(--tc-soft);
color: var(--tc-ink);
  border-radius: 6px;
}

.reduced-tip-layout {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
}

.reduced-tip-image {
  flex: 0 0 220px;
}

.reduced-tip-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.reduced-tip-table {
  flex: 1;
}

.reduced-tip-table h3 {
  margin-top: 0;
  font-size: 16px;
}

.reduced-tip-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75em;
}

.reduced-tip-table th,
.reduced-tip-table td {
  border: 1px solid var(--tc-border);
  padding: 0.5em;
  text-align: center;
  vertical-align: top;
}

.reduced-tip-table th {
  background: var(--tc-footer-bg);
}

@media (max-width: 700px) {

  .reduced-tip-layout {
    flex-direction: column;
  }

  .reduced-tip-image {
    flex: none;
    max-width: 300px;
  }
}

.reduced-tip-choice label {
  flex: 0 0 220px;
}

/* =========================================================
   SENSOR CONFIGURATOR — RICH SELECT AND COMPONENT TABLES
   TC-057G — Extracted from override.css.

   Existing appearance and all-media scope preserved.
   Dropdown visibility and selection remain controlled
   by the existing JavaScript.
   ========================================================= */

.rich-select {
  position: relative;
}

.rich-select-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 15px;
  background: var(--tc-soft);
border: 1px solid var(--tc-muted);
color: var(--tc-ink);
  border-radius: 4px;
  font: inherit;
  margin-top: 18px;
  font-size: 14px;
    padding-right: 36px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
background-size: 12px 8px;
 }

.rich-select-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--tc-white);
border: 1px solid var(--tc-muted);
color: var(--tc-ink);
  border-top: none;
  max-height: 400px;
  overflow: auto;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.rich-select-arrow {
  display: none;
}


.component-table {
  flex: 1;
}

.component-table h3 {
  margin-top: 0;
  font-size: 16px;
}

.component-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75em;
}

.component-table th,
.component-table td {
  border: 1px solid var(--tc-border);
  padding: 0.5em;
  text-align: center;
  vertical-align: middle;
}

.component-table th {
  background: var(--tc-footer-bg);
}

.component-table input {
  margin-top: 0;
}

/* =========================================================
   SENSOR CONFIGURATOR — QUANTITY, ACTIONS AND BADGE
   TC-057H — Extracted from override.css.

   Existing appearance, interaction states and all-media
   scope preserved. Submission handling unchanged.
   ========================================================= */

.recommended-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  /*background: #2e7d32;*/
  background: var(--tc-ink);
color: var(--tc-white);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 24px 0 16px;
}

.quantity-row label {
  font-size: 0.95rem;
  color: var(--tc-ink);
}

.quantity-row input[type="number"] {
  width: 90px;
  padding: 8px 10px;
  border: 1px solid var(--tc-muted);
background: var(--tc-soft);
color: var(--tc-ink);
  border-radius: 6px;
  font-size: 1rem;
  
}

.form-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  /*border-top: 1px solid #e3e6e8;
  border-bottom: 1px solid #e3e6e8;*/
border-top: 1px solid var(--tc-border);
border-bottom: 1px solid var(--tc-border);
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  appearance: none;
  border: none;
background-color: var(--tc-primary);
color: var(--tc-white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.05s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover {
background-color: var(--tc-ink);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-submit:focus-visible {
outline: 3px solid var(--tc-primary);
  outline-offset: 2px;
}

.btn-submit:disabled {
background-color: var(--tc-muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* =========================================================
   SENSOR CONFIGURATOR — PALETTE STATE COMPLETION
   TC-058 — Explicit disabled colours and keyboard focus.

   Existing disabled opacity, visibility and selection
   behaviour remain unchanged.
   ========================================================= */

/*
 * Override enabled field backgrounds deliberately.
 * These rules also outrank the typed-input background rules.
 */
.form-section input:disabled,
.form-section select:disabled,
.form-section textarea:disabled,
.quantity-row input[type="number"]:disabled {
  background-color: var(--tc-soft);
  color: var(--tc-muted);
  border-color: var(--tc-border);
}

/* Focus indicators for native controls and existing buttons */
.form-section input:focus-visible,
.form-section select:focus-visible,
.form-section textarea:focus-visible,
.rich-select-button:focus-visible,
.quantity-row input[type="number"]:focus-visible,
.clear-selection:focus-visible,
#headOptions summary:focus-visible {
  outline: 2px solid var(--tc-primary);
  outline-offset: 2px;
}

/* =========================================================
   SENSOR CONFIGURATOR — INSET SELECT ARROWS
   TC-058B — Match the legacy enquiry-form treatment.
   Multiple-selection and explicitly sized lists excluded.
   ========================================================= */

@media screen and (min-width: 0px) {

  .form-section select:not([multiple]):not([size]) {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 36px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
  }
}

/* Restore the system arrow in forced-colours modes */
@media screen and (forced-colors: active) {

  .form-section select:not([multiple]):not([size]) {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
    padding-right: 12px;
  }
}


/* =========================================================
   TRUST FEATURES
   TC-063A — Extracted from override.css.

   Existing colours, typography, spacing and responsive
   behaviour preserved. Inline SVG styling remains unchanged.
   ========================================================= */

.trust-features-strip {
  background: #e3e3e3;
  margin: 25px 0;
  padding: 25px 30px;
  border-radius: 10px;
  box-sizing: border-box;
}

.trust-features-grid {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 40px;
  align-items: stretch;
}

.trust-features-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  position: relative;
  padding: 8px 10px;
  border-radius: 6px;
}

.trust-features-icon {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-features-text {
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

.trust-features-text h3 {
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

.trust-features-item:hover {
  background: rgba(255, 255, 255, 0.4);
}

.trust-features-header {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 10px;
}

.trust-features-header h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  color: #333;
}

.trust-features-header p {
  max-width: 850px;
  margin: 0 auto;
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 900px) {

  .trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .trust-features-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TRUST FEATURES — ICON PALETTE
   TC-064B — Support existing SVG markup without HTML edits.

   Narrow overrides replace legacy inline red colours.
   Preserve the distinction between outline and filled icons.
   ========================================================= */

/* Outline icons in the supplied component */
.trust-features-icon > svg[stroke="currentColor"] {
  stroke: var(--tc-primary) !important;
}

/* Filled “50+” icon in the supplied component */
.trust-features-icon > svg[stroke-width="0"] {
  fill: var(--tc-primary) !important;
}

/* =========================================================
   QUICK ACCESS LINKS — PALETTE
   TC-064D — Override legacy embedded orange styling.

   More specific selectors allow CSS-only regional rollout.
   Existing dimensions, spacing and movement preserved.
   ========================================================= */

.quick-links-section a.quick-link-btn:link,
.quick-links-section a.quick-link-btn:visited {
  background-color: var(--tc-primary);
  color: var(--tc-white);
}

.quick-links-section a.quick-link-btn:hover,
.quick-links-section a.quick-link-btn:focus {
  background-color: var(--tc-ink);
  color: var(--tc-white);
}

.quick-links-section a.quick-link-btn:focus-visible {
  outline: 2px solid var(--tc-primary);
  outline-offset: 3px;
}

/* =========================================================
   GUIDE NAVIGATION LINKS
   TC-067 — Migrated from override.css and palette updated.

   Existing dimensions, spacing and all-media scope preserved.
   Anchors remain ordinary navigation links.
   ========================================================= */

.next-button {
  display: inline-block;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.more-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.4rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

a.next-button:link,
a.next-button:visited,
a.more-button:link,
a.more-button:visited {
  background-color: var(--tc-ink);
  color: var(--tc-white);
  text-decoration: none;
}

a.next-button:hover,
a.more-button:hover {
  background-color: var(--tc-primary);
  color: var(--tc-white);
  text-decoration: none;
}

a.next-button:focus-visible,
a.more-button:focus-visible {
  outline: 3px solid var(--tc-primary);
  outline-offset: 3px;
}

/* =========================================================
   GUIDE ARTICLE TABLES
   TC-070 — Extracted from override.css.
   Existing appearance and all-media scope preserved.
   ========================================================= */

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: system-ui, sans-serif;
  font-size: 15px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-table thead {
  background-color: #f5f5f5;
}

.article-table th,
.article-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.article-table th {
  font-weight: 600;
  color: #333;
}

.article-table tbody tr:hover {
  background-color: #fafafa;
}

/* =========================================================
   RESPONSIVE CONTENT IMAGES
   TC-070 — Extracted from override.css.
   Original sizing and media scope preserved.
   ========================================================= */

.responsive-image {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {

  .responsive-image {
    width: 60%;
  }
}

/* =========================================================
   INFORMATION BUBBLE
   TC-071 — Migrated from override.css.
   Red updated to the shared primary colour.
   Existing dimensions and all-media scope preserved.
   ========================================================= */

.info-bubble {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: var(--tc-primary);
  color: var(--tc-white);
  font-weight: bold;
  text-align: center;
  line-height: 1.2em;
  font-family: sans-serif;
  font-size: 0.9em;
  margin-right: 10px;
}

/* Product-card spacing utilities — TC-072
   Moved from override.css; original all-media scope retained. */
.product-bottom {
  margin-top: auto;
  margin-bottom: 10px;
}

.productspara {
  margin-bottom: 7px;
}



/* =========================================================
   PRODUCT-CARD ACTION LINKS
   TC-073 — Extracted from override.css.
   Accepted palette, spacing and interaction states preserved.
   ========================================================= */
/* Product-card action links */
.btn-cart {
  background-color: var(--tc-primary);
  color: var(--tc-white) !important;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-block;
  text-transform: none;
  transition: background-color 0.25s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-cart:hover {
  background-color: var(--tc-ink);
  color: var(--tc-white) !important;
  transform: translateY(-2px);
  cursor: pointer;
  text-decoration: none;
}

.btn-cart:active {
  background-color: var(--tc-ink);
  transform: translateY(0);
}

.btn-cart:focus-visible {
  outline: 2px solid var(--tc-primary);
  outline-offset: 3px;
}

/* =========================================================
   LEGACY INDUSTRY TEXT COLUMNS
   TC-077 — Extracted from tcmain.css.

   Existing responsive behaviour preserved:
   - Above 481px: three floated columns.
   - Exactly 481px: full-width floated columns.
   - Below 481px: no declarations from this component;
     ordinary divs retain their natural block layout.
   ========================================================= */

@media screen and (min-width: 481px) {

  .column {
    float: left;
    width: 33%;
    padding-left: 20px;
    box-sizing: border-box;
  }

  .row:after {
    content: "";
    display: table;
    clear: both;
  }
}

/* Preserve the intersection of the original nested queries */
@media screen and (min-width: 481px) and (max-width: 481px) {

  .column {
    width: 100%;
  }
}


/* =========================================================
   HORIZONTAL CONTENT SCROLLING
   TC-078 — Extracted from tcmain.css.
   Original all-media scope preserved.
   ========================================================= */

.hscroll {
  overflow-x: auto;
}
.hscroll {
  overflow-x: auto; /* Horizontal */
}




/* =========================================================
   LEGACY HERO ACTIONS, EMF TABLES AND TEXT UTILITY
   TC-078 — Extracted from tcmain.css.

   Existing declarations and 481px screen scope preserved.
   EMF row separators are retained as table-reading aids.
   ========================================================= */

@media screen and (min-width: 481px){

.learnmore {
  
  border: none;
  
  padding: 10px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px; font-weight:600;
  margin: 4px 2px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 25px;
  
}

.button1 {
  background-color: rgba(0, 0, 0, 0); 
  color: white; 
  border: 2px solid white;
}

.button1:hover {
  background-color: white;
  color: black;
}
		
	
table.emf_table {
  border: 2px solid #FFFFFF;
  width: 768px;
  text-align: right;
  border-collapse: collapse;
  margin-bottom:25px;
}

table.emf_table td,
table.emf_table th {
  padding: 3px 10px 3px 0;
}

table.emf_table tr:nth-child(5n) {
  border-bottom: solid 1px red;
}

table.emf_table td:first-child {
	font-weight:bold; text-align:center;
}

table.emf_table td:nth-child(12n) {
	font-weight:bold; text-align:center;
}


table.emf_table td:nth-child(even) {
  background: #E6E0DE; 

}

.formatbold {font-weight:bold;}

}

/* =========================================================
   LANDING-PAGE SUPPORT PANELS
   TC-080A — Help and manufacturing information.

   Modifier classes survive rightdetail/leftdetail switching.
   Existing page rules continue to control width and padding.
   ========================================================= */

.tc-landing-panel.tc-landing-panel--help {
  background: var(--tc-primary-soft);
  color: var(--tc-ink);
  text-align: left;

  /* Accent without increasing the panel's outer width */
  box-shadow: inset 4px 0 0 var(--tc-primary);
}

.tc-landing-panel.tc-landing-panel--manufacture {
  background: var(--tc-nav-bg);
  color: var(--tc-white);
  text-align: left;
  box-shadow: none;
}



.tc-landing-panel > h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tc-ink);
}

.tc-landing-panel > p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tc-ink);
}

/* Override the shared landing-panel heading/paragraph colours */
.tc-landing-panel--manufacture > h2,
.tc-landing-panel--manufacture > p {
  color: var(--tc-white);
}

.tc-landing-panel > p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   LANDING-PAGE VIDEO PANEL
   TC-080B — Linked thumbnail with descriptive action.

   Existing page rules control panel width and padding.
   Supports rightdetail/leftdetail class switching.
   ========================================================= */

.tc-video-panel {
  background: var(--tc-white);
  color: var(--tc-ink);
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--tc-border);
}

.tc-video-panel > h2 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--tc-ink);
}

.tc-video-panel > a.tc-video-panel__link {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.tc-video-panel > a.tc-video-panel__link:link,
.tc-video-panel > a.tc-video-panel__link:visited {
  color: var(--tc-ink);
  text-decoration: none;
}

.tc-video-panel__link > .tc-video-panel__thumbnail {
  display: block;
  flex: 0 0 auto;
  width: 120px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.tc-video-panel__text {
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
}

.tc-video-panel__text > strong,
.tc-video-panel__text > span {
  display: block;
}

.tc-video-panel__text > strong {
  margin-bottom: 6px;
}

.tc-video-panel__action {
  margin-top: 12px;
  color: var(--tc-primary);
  font-weight: 700;
}

.tc-video-panel__link:hover .tc-video-panel__action,
.tc-video-panel__link:focus-visible .tc-video-panel__action {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-video-panel > a.tc-video-panel__link:focus-visible {
  outline: 2px solid var(--tc-primary);
  outline-offset: 4px;
}

@media screen and (max-width: 480px) {

  .tc-video-panel > a.tc-video-panel__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

