@charset "utf-8";
/* CSS Document */

/* =========================
   TYPOGRAPHY HELPERS
========================= */
.textSmall {
  font-size: 14px;
  line-height: 1.4;
}
/* External links */
a.external {
  color: #1A6A96;
}

/* =========================
   EXTERnal link
========================= */

	a.external[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 4px;
  background-color: currentColor;
  mask: url("https://www.subaru.ca/Content/7907/Media/General/webimage/technology/external.svg") no-repeat center / contain;
  -webkit-mask: url("https://www.subaru.ca/Content/7907/Media/General/webimage/technology/external.svg") no-repeat center / contain;
}

/* =========================
   SCREEN READER ONLY
========================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================
   GLOBAL FOCUS SYSTEM
   (single source of truth)
========================= */
:focus-visible {
  outline: 3px solid #005FCC;
  outline-offset: 3px;
}
	:focus {
  outline: 3px solid #005FCC;
  outline-offset: 3px;
}
/* External link indicator (visual only) */
a.external[target="_blank"]::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin-left: 4px;
}

/* Typography */
	
	.title-with-icon {
  display: flex;
  align-items: center; /* vertical alignment */
  gap: 0.5rem; /* space between icon and text */
}

.title-with-icon .icon {
  width: 24px;  /* adjust as needed */
  height: 24px;
  padding-bottom: 0! important!
}
sup {
  vertical-align: super;
  font-size: 0.75em;
}

.textSmall {
  font-size: 12px;
  line-height: 1.4;
}

/* Layout */
.greyBox {
  background-color: #f5f5f5;
  border: 1px solid #c6c6c6;
  padding: 20px;
  border-radius: 5px;
  color: #1a1a1a;
}
	/*specsGrid*/
.specsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.specsGrid dt {
  font-size: 1.2em;
  color: #666;
}

.specsGrid dd {
  margin: 0;
  font-weight: 600;
	font-size: 1.2em;
  text-align: right;
}
	


/* Accordion */
details {
  /*border-top: 1px solid #ddd;*/
  padding: 10px 0;
}

summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  margin-bottom: 1.5em;
  background-color: #ddd;
  padding: 0.4em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
}

details[open] summary::after {
  content: "–";
}
	details > dl {
  overflow: hidden;
}

details[open] > dl {
  animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
	
@media (max-width: 480px) {
  .specsGrid {
    grid-template-columns: 1fr;
  }

  .specsGrid dd {
    text-align: left;
  }
}	
/* Specs grid 
.specsGrid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px 16px;
}

.specsGrid dt {
  font-weight: bold;
  margin: 0;
	font-size: 16px;
    line-height: 1.1;
	
}

.specsGrid dd {
  margin: 0;
	font-size: 16px;
    line-height: 1.1;
}

@media (max-width: 640px) {
  .specsGrid {
    grid-template-columns: 1fr;
  }
  .specsGrid dt {
    margin-top: 10px;
  }
}*/

/* Table */
.energyTable {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

.energyTable caption {
  text-align: left;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
}

.energyTable th,
.energyTable td {
  padding: 12px 16px;
  border: 1px solid #c6c6c6;  
  text-align: center;
  color: #1a1a1a;
}
	.energyTable td {
  font-size: 20px; 
}

.energyTable thead th {
  background-color: #eaeaea;
	
  font-weight: 600;
}

.energyTable tbody th {
  font-weight: 600;
}

.energyTable tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Accessible mobile table */
@media (max-width: 640px) {

  .energyTable thead {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .energyTable,
  .energyTable tbody,
  .energyTable tr,
  .energyTable th,
  .energyTable td {
    display: block;
    width: auto;
	  text-align: center;
	  padding: .5em;
	 border: none;
  }

  .energyTable tr {
    margin-bottom: 16px;
    border: 1px solid #c6c6c6;
    padding: 10px;
  }

  
	.energyTable td {
    padding: 12px 16px;
    border: 1px solid #c6c6c6;
    text-align: center;
    color: #1a1a1a;
}

  .energyTable td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
  }
}
	.btn-primary {
  display: inline-block;
  background-color: #1A6A96; /* dark blue */
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #002244; /* slightly darker for hover */
  text-decoration: underline;
}

.btn-primary:focus-visible {
  outline: 3px solid #005FCC;
  outline-offset: 3px;
}
