/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*{
	box-sizing: border-box;
}

/*====== MY STYLES BELOW ======*/

* {
  box-sizing: border-box;
}


body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f3f3;
  color: #111;
  line-height: 1.6;
}

header {
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
}

h1 {
  font-size: 2.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

header p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin: 1.25rem auto 0;
  background: #d40000; /* Tate red accent */
}

footer {
  text-align: center;
  padding: 1.25rem 1rem 1.75rem;
  font-size: 0.9rem;
  color: #666;
}

/* Main card */

main {
  max-width: 960px;
  margin: 2.5rem auto 3.5rem;
  padding: 2.5rem 2rem 3rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Sections and headings */

main > h2:nth-of-type(2), main > h2:nth-of-type(3){
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
}


h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h3 {
  font-weight:600;
}

figure > h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
main > section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

main > section figure {
  margin: 0;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 4px;
}

main > section figure img {
  width: 100%;
  height: auto;
  display: block;
}

main > ol {
  margin-bottom: 2rem;
}

main > p:nth-of-type(1){
  font-weight: 700;
  margin-bottom: 1rem;
}

