body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    }

  h1 {
    font-size: 18px;
    line-height: 3rem;
  }
  
  h2 {
    font-size: 18px;
    line-height: 2rem;
  }

  p {
    font-size: 13px;  
  }

  .mobile-break {
    display: block;
  }

  .subpage-image-right img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto;
  }
}

header {
  color: white;
  padding: 2rem;
  text-align: center;
}
header h1 {
  font-size: 32pt;
  margin-top: 2rem;
  font: arial, italic
}

header p {
  font-size: 13pt;
}

.hero {
  background-image: url('images/icecreamandcars_header_pc@2x.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 350px;
}

.articles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  justify-content: center;
}

article {
  background: white;
  border: 4px solid white;
  border-radius: 36px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

article img {
  width: 100%;
  height: auto;
}

article h2 {
  margin: 0;
  padding-top: 0.67rem;
  padding-bottom: 0.67rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 13pt;
  color: rgb(0, 0, 0);
  text-align: center;
  }

a {
  text-decoration: none;
  color: inherit;
  }

a:hover {
  text-decoration: none;
  color: palevioletred;
  }

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  padding: 0;
  overflow: hidden;
}

.logo-left {
  height: 150px;
  cursor: pointer;
}

.banner-right {
  height: 150px;
  width: auto;
  flex-grow: 1;
  object-fit: contain;
}

.content {
  text-align: left;
  margin: 2rem;
  padding-top: 0.6rem;
  padding-left: 2rem;
  padding-right: 2rem;
  background: rgb(255, 255, 255);
  border: 4px solid white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content h1 {
  font-size: 26pt;
  text-align: left;
}

.subpage-h2 {
  font-size: 22pt;
}

.text-box {
  max-width: 800px; 
}

.tight-line {
  line-height: 1rem;
  padding-top: 1rem;
}

.subpage-image-right {
  max-width: 350px;
  height: auto;
  width: 100%;
  float: right;
  margin-left: 2rem;
  margin-top: 0.1rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  overflow: hidden;
}

.subpage-image-right img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.meta {
  text-align: left;
  font-size: 10pt;
  color: grey;
  line-height: 0.8;
}

img {
    display: block;
}

footer {
  background-color: black;
  color: palevioletred;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.7rem;
  font-weight: normal;
}

footer p {
  max-width: auto;
  line-height: 1.4;
  word-break: keep-word;
  font-weight: normal;
}
