/* NordicTrack Website Styles */


/* ---------- PAGE ---------- */

body {
	font-family: "Segoe UI", Arial, sans-serif;
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
	line-height: 1.6;
}


/* ---------- IMAGES ---------- */

img {
	max-width: 100%;
	height: auto;
}

.header-image {
	display: block;
	width: 100%;
	height: auto;
}

.hero-image {
	display: block;
	width: 100%;
	height: auto;
}


/* ---------- HEADINGS ---------- */

h1 {
	color: #1d4e89;
}


/* ---------- DATE ---------- */

.date {
	color: gray;
}


/* ---------- LINKS ---------- */

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


/* ---------- FOOTER ---------- */

footer {
	margin-top: 30px;
	padding-top: 15px;
	border-top: 1px solid #cccccc;
	text-align: center;
}


/* ---------- UPDATES PAGE ---------- */

.updates-hero-image {
	display: block;
	width: min(1200px, calc(100vw - 40px));
	max-width: none;
	height: auto;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

/* ---------- CONTAINER FIELDSET STYLING ---------- */
fieldset {
	background-color: #f4f6f8;
	border: 2px solid #cbd5e1;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
}

/* 3-Column Grid for Route Banners (Two-Row Layout) */
.shield-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto min-content;
	gap: 2px 20px; /* Tightly controls the space between images and labels */
	width: 100%;
	box-sizing: border-box;
	align-items: start;
}

.shield-image-slot {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.shield-image-slot a {
	display: block;
	width: 100%;
	margin-bottom: 0;
}

.shield-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.shield-label-slot {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.shield-label {
	margin-top: 2px;
	margin-bottom: 0;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.shield-link {
	display: block;
	font-size: 18px;
	margin-top: -10px;
}

.shield-icon {
	font-size: 32px;
}
/* ---------- PAGE HERO ---------- */

.page-hero-image {
	width: 100%;
	height: auto;
	display: block;
	border: 3px solid #444;
	border-radius: 12px;
	box-sizing: border-box;
}


/* ---------- JOURNEY LINKS ---------- */

.journey-box {
	display: flex;
	padding: 10px;
}

.journey-links {
	flex: 2;
}

.journey-image {
	flex: 1;
}

.journey-image img {
	border-radius: 50px;
}

/* ---------- ROUTE CARDS ---------- */

.route-card {
	width: 100%;
	box-sizing: border-box;
	border: 3px solid #444;
	border-radius: 12px;
}

.route-image {
	display: block;
	width: 100%;
	height: 400px;
	object-fit: contain;
	box-sizing: border-box;
}

legend {
    font-weight: 700;
}

.heave-to-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- RIDING NOW UPDATE ---------- */

.riding-now-update {
	display: block;
	width: 95%;
	height: auto;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* NordicTrack Horizon tables */

.planned-intro {
  max-width: 850px;
  margin: 0 0 18px;
  color: #444;
  line-height: 1.6;
}

.table-intro {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.5;
}

.horizon-section {
  margin: 0 0 30px;
  overflow-x: auto;
}

.horizon-three-tables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 30px;
}

.horizon-table-box {
  min-width: 0;
  overflow-x: auto;
}

.horizon-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  background: white;
}

.horizon-table th,
.horizon-table td {
  border: 1px solid #999;
  padding: 4px 6px;
  text-align: left;
  white-space: nowrap;
}

.horizon-table th,
.horizon-table .total-row td {
  background: #1f4e78;
  color: white;
  font-weight: bold;
}

.ride-navigation {
  display: flex;
  gap: 18px;
  margin: 24px 0 30px;
}

.ride-navigation-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 85px;
  padding: 18px 22px;

  border: 1px solid #9aafc2;
  border-radius: 8px;
  background: linear-gradient(to bottom, #f8fbfd, #e8f0f6);

  color: #1f4e78;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ride-navigation-card:hover,
.ride-navigation-card:focus {
  background: linear-gradient(to bottom, #edf5fa, #d7e6f1);
  border-color: #1f4e78;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
  text-decoration: none;
}

.ride-navigation-card:focus-visible {
  outline: 3px solid #6fa8dc;
  outline-offset: 3px;
}

.ride-navigation-icon {
  font-size: 34px;
  line-height: 1;
}

@media (max-width: 800px) {
  .ride-navigation {
    flex-direction: column;
  }
}


/* =========================================================
   PCMURPHY SIGNATURE FOOTER
   ========================================================= */

.webmasters {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    padding-bottom: 8px;
}

.hub-signature-footer {
    display: grid;
    grid-template-columns: 115px 220px 195px;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 16px 20px;
    border-top: 1px solid #d5e0e8;
}

.hub-signature-photo,
.hub-signature-mobius {
    display: flex;
    align-items: center;
}

.hub-signature-photo {
    justify-content: flex-start;
}

.hub-signature-mobius {
    justify-content: flex-end;
}

.hub-signature-photo img {
    display: block;
    width: 100%;
    max-width: 110px;
    height: auto;
    border-radius: 16px;
}

.hub-signature-mobius img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    border-radius: 16px;
}

.hub-signature-contact {
    text-align: center;
    align-self: center;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.8;
}

.hub-signature-contact p {
    margin: 0;
}

.hub-signature-contact a,
.webmasters a {
    color: #173f63;
}

@media (max-width: 520px) {
    .hub-signature-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .hub-signature-photo,
    .hub-signature-mobius {
        justify-content: center;
    }

    .hub-signature-contact {
        overflow-wrap: anywhere;
    }
}


/* Footer navigation back to PCMurphy Hub */

footer nav a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #173f63;
}


/* ---------- ABOUT THE BIKE: LEARN MORE ---------- */

.learn-more-links a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f4e78;
}

/* American Rides — align route maps with paragraph text */
.route-section figure.route-card {
    margin-left: 0;
    margin-right: 0;
}

/* American Rides — end-of-route navigation */
.route-section .return-top {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 6px solid #cbd5df;
    font-size: 20px;
    font-weight: 600;
}

.route-section .return-top a {
    text-decoration: none;
}

.route-section .return-top a:hover,
.route-section .return-top a:focus-visible {
    text-decoration: underline;
}

/* American Rides — borderless route maps */
.route-section figure.route-card {
    border: none;
    box-shadow: none;
}


/* American Rides — highway map captions */
.route-section .route-card figcaption {
    font-size: 20px;
    font-weight: 600;
    padding: 8px 0;
}

