:root {
  --accent-red: #d0021b;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  /* background: #ececec; */
  color: #111;
}

hr {
      border: black 4px solid;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  background: #fff;
  padding: 20px;
}

img {
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.site-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 20px;
  letter-spacing: -1px;
}

.site-title a {
  color: #000;
  text-decoration: none;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.homepage {
  display: grid;
  gap: 30px;
  max-width: 800px;
}

.sidebar {
  width: 100%;
  position: sticky;
  top: 20px;
  align-self: start;
}

.sidebar-inner {
  width: 100%;
}

.sidebar-title {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  border-bottom: 6px solid var(--accent-red);
  padding-bottom: 8px;
}

.popular-posts {
  display: grid;
  gap: 18px;
}

.popular-post {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccc;
}

.popular-post:first-child{
  padding-top: 0px;
}

.popular-post-content{
  align-self: center;
}

.popular-post-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-title {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 800;
}

.popular-post-title a {
  color: #000;
  text-decoration: none;
}

.wpp-list {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-post {
  display: block;
  width: 100%;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 30px;
  border: 6px solid var(--accent-red);
  border-top: none;
  text-align: center
}

.hero-image-link {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 18px;
}

.hero-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-kicker {
margin: 2px 0;
}
.post-kicker span {
  background: var(--accent-red);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white
}

.hero-label{
  font-size: 42px;
  padding: 3px;;
   margin: 0;
   background: var(--accent-red);
   font-weight: 800;
   line-height: 1;
   text-align: center;
   color: white;
   text-transform: uppercase;
}

.hero-title {
  margin: 0 0 12px;
  font-size: 48px;
  line-height: 0.95;
  font-weight: 800;
  padding: 5px 0;
}

.hero-title a, .post-card-title a {
  color: #000;
  text-decoration: none;
}

.hero-excerpt {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  color: #333;
    padding: 0 5px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
   padding-bottom: 24px;
  border-bottom: 1px solid #ccc;
}

.post-card {
  display: block;
  padding-bottom: 0;
  border-bottom: none;
    border-right: 1px solid #ccc;
    padding-right: 12px;
    margin-right: 12px;
    /* text-align: center; */
}
.post-card:last-child  {
    border-right: none;
    padding-right: none;
    margin-right: none
}

.post-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 12px;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
}



.post-card-excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: #333;
}

a:hover {
  opacity: 0.85;
}

.feature-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 10px;
   /* padding-bottom: 24px;
  border-bottom: 1px solid #ccc; */
}

.feature-main {
  border-right: 1px solid #ccc;
  padding-right: 24px;
}

.feature-main-title {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 0.98;
  font-weight: 800;
}

.feature-main-title a,
.feature-stack-title a {
  color: #000;
  text-decoration: none;
}

.feature-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 14px;
}

.feature-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-main-excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #555;
}

.feature-stack {
  display: grid;
  gap: 24px;
}

.feature-stack-item {
  padding-bottom: 24px;
  border-bottom: 1px solid #ccc;
}

.feature-stack-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.feature-stack-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 12px;
}

.feature-stack-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-stack-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .layout-shell, .three-up, .feature-split {
    grid-template-columns: 1fr;
  }

  .homepage {
    max-width: 100%;
  }

  .sidebar {
    display: none;
  }

    .post-card  {
    border-right: 0px;
    padding-right: 0px;
    margin-right: 0px;
}
}

@media (max-width: 900px) {
  .hero-post {
    grid-template-columns: 1fr;
  }

  .hero-label {
    font-size: 42px;
  }
  .hero-title {
    font-size: 36px;
  }



  .post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-title {
    font-size: 40px;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card-title {
    font-size: 16px;
  }

  .hero-excerpt,
  .post-card-excerpt {
    font-size: 15px;
  }
}

/* SINGLE POST */

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.single-main {
  max-width: 920px;
}

.single-post {
  width: 100%;
}

.single-kicker {
  margin: 0 0 2px;
}

.single-kicker span {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-title {
  margin: 0 0 14px;
  font-size: 64px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -1px;
  max-width: 900px;
}

.single-meta {
  margin-bottom: 20px;
}

.single-meta p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.single-author span {
  color: var(--accent-red);
}

.single-divider {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 0 0 26px;
}

.single-featured-image {
  display: block;
  width: 100%;
  margin-bottom: 30px;
}

.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-content {
  max-width: 760px;
}

.single-content p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  margin: 36px 0 18px;
  line-height: 1.05;
}

.single-sidebar {
  width: 100%;
  position: sticky;
  top: 20px;
  align-self: start;
}

.single-sidebar-inner {
  width: 100%;
}

.single-sidebar-title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  border-bottom: 6px solid var(--accent-red);
  padding-bottom: 8px;
}

@media (max-width: 1100px) {
  .single-layout {
    grid-template-columns: 1fr;
  }

  .single-sidebar {
    display: none;
  }

  .single-main,
  .single-content {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .single-title {
    font-size: 46px;
  }

  .single-content p {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .single-title {
    font-size: 34px;
  }

  .single-meta p {
    font-size: 15px;
  }

  .single-content p {
    font-size: 17px;
    line-height: 1.55;
  }
}