/* =========================================================
   Big Grey Man
   Clean replacement stylesheet for old Blogger-style layout
   ========================================================= */

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

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 32px 20px 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2f2f2f;
  background: #AAAAAA;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #fff;
  text-decoration: none;
/*   font-weight: 600; */
}

a:hover,
a:focus {
  color: #1f1f1f;
  text-decoration: underline;
}

p {
  margin: 0 0 1.1em;
}

/* Layout
--------------------------------------------------------- */
#header,
#content,
#footer {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

#content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

#main {
  flex: 1 1 640px;
  min-width: 0;
}

#main2 {
  background: rgba(255, 255, 255, 0.1);
  padding: 24px 28px 10px;
/*   border: 1px solid rgba(0, 0, 0, 0.08); */
}

#sidebar {
  width: 280px;
  flex: 0 0 280px;
}

#sidebar {
  position: relative;
}

#sidebar::after {
  content: "";
  display: block;
  width: 100%;
  height: 140px; /* adjust depending on image height */
  margin-top: 40px; /* pushes it below navigation */
  background-image: url("https://www.biggreyman.co.uk/img/footsteps.gif");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto;
}


#sidebar2 {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 22px 24px;
   font-family: "Courier New", Courier, monospace;
   font-weight: bold;  
/*   border: 1px solid rgba(0, 0, 0, 0.08); */
}


#sidebar a.navOn {
	color: #fff;
}


/* Header
--------------------------------------------------------- */
 
#blog-title {
  margin: 0;
  padding: 0;
}

#blog-title a {
  display: inline-block;
}

#blog-title img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}




/* Header
--------------------------------------------------------- */
#header {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 35px;
  text-align: left;
}

.site-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0 12px;
}

.site-header__title {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header__home {
  display: inline-block;
  color: #2f2f2f;
  text-decoration: none;
}

.site-header__home:hover,
.site-header__home:focus {
  color: #1f1f1f;
  text-decoration: none;
}

.site-header__line {
  display: block;
   font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);  
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-header__tagline {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
  padding-bottom: 8px;
}

.site-header__mark {
  display: block;
  width: 34px;
  height: auto;
  margin: 0 0 10px;
  opacity: 0.75;
}

.site-header__tagline-text {
  display: block;
   font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  line-height: 1.1;
  color: #5a5a5a;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0 6px;
  }

  .site-header__tagline {
    align-items: flex-start;
    min-width: 0;
    padding-bottom: 0;
  }

  .site-header__mark {
    width: 26px;
    margin-bottom: 8px;
  }

  .site-header__tagline-text {
    white-space: normal;
  }
}



/* Headings
--------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: #2f2f2f;
  font-weight: normal;
}

.date-header {
  margin: 0 0 14px;
  padding-top: 4px;
  font-family: Arial, Helvetica, sans-serif;
   font-family: "Courier New", Courier, monospace;  
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #333;
}

.post-title {
  margin: 0 0 14px;
  font-size: 1.85rem;
  line-height: 1.2;
   font-family: "Courier New", Courier, monospace;
   font-weight: 600;  
}

.post-title a {
  color: #2f2f2f;
}

.post-title a:hover,
.post-title a:focus {
  color: #4d3326;
}


/* Video */

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0.5 0 2.5em 0;
  overflow: hidden; /* important */
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* Posts
--------------------------------------------------------- */
.post {
  margin: 0 0 36px;
  padding: 0 0 28px;
  border-bottom: 1px solid #333;
}

.post:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.post-body {
  font-size: 1rem;
}

.post-body div {
  margin: 0;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.1em 1.5em;
  padding: 0;
}

.post-body li {
  margin-bottom: 0.4em;
}

.post-body img {
  display: block;
  margin: 1.2em auto;
  padding: 0;
  border: 1px solid #d2cbc5;
  background: #fff;
}

.post blockquote {
  margin: 1.5em 0;
  padding: 0.8em 1.2em;
  border-left: 4px solid #b7a79b;
  background: rgba(255, 255, 255, 0.45);
}

.post blockquote p:last-child {
  margin-bottom: 0;
}

.post-footer {
	display: none;
  margin: 1.2em 0 0;
  padding-top: 0.8em;
   font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
}

.post-footer em {
  font-style: normal;
}

.comment-link {
  margin-left: 0.8em;
}

/* Embedded media
--------------------------------------------------------- */
object,
embed,
iframe,
video {
  display: block;
  max-width: 100%;
  margin: 1.2em auto;
}

center {
  display: block;
  text-align: center;
}

/* Sidebar
--------------------------------------------------------- */
.sidebar-title {
  margin: 0 0 14px;
  padding-top: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b625d;
}

#sidebar p {
  margin: 0 0 1em;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a4642;
}

#sidebar ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

#sidebar li {
  margin: 0 0 0.7em;
  padding: 0;
  line-height: 1.45;
}

#sidebar a {
  color: #3d2c22;
}

#sidebar a:hover,
#sidebar a:focus {
  color: #000;
}

#sidebar2 > p[style*="text-align:right"] {
  text-align: right;
  margin-bottom: 28px;
}

#sidebar2 > p[style*="text-align:right"] img {
  display: inline-block;
  margin: 0 0 8px;
}

#recently,
.archive-list {
  border-top: 1px solid #d4cdc7;
  padding-top: 14px;
}

#powered-by {
  margin: 14px 0 24px;
}

/* Footer
--------------------------------------------------------- */
#footer {
  clear: both;
  margin-top: 26px;
  padding: 18px 0 10px;
  text-align: center;
}

#footer hr {
  display: none;
}

#footer p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d5752;
}

/* Utility cleanup for old inline markup
--------------------------------------------------------- */
div[style*="clear:both"] {
  clear: both;
}

/* Responsive
--------------------------------------------------------- */
@media (max-width: 900px) {
  body {
    padding: 20px 14px 28px;
  }

  #content {
    display: block;
  }

  #main,
  #sidebar {
    width: 100%;
    flex: none;
  }

  #main {
    margin-bottom: 24px;
  }

  #main2,
  #sidebar2 {
    padding: 18px 18px 10px;
  }

  .post-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  #main2,
  #sidebar2 {
    padding: 16px 14px 8px;
  }

  .post-title {
    font-size: 1.35rem;
  }

  .date-header,
  .sidebar-title,
  .post-footer,
  #footer p {
    letter-spacing: 0.08em;
  }
}