* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #454545;
  font:
    15px/1.75 Inter,
    Arial,
    Helvetica,
    sans-serif;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}
a:hover {
  color: #e4572e;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.container {
  width: min(1180px, calc(100% - 36px));
  margin: auto;
}
.topbar {
  background: #171717;
  color: #cfcfcf;
  font-size: 12px;
}
.topbar .container {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-links {
  display: flex;
  gap: 18px;
}
.header {
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  position: relative;
  z-index: 10;
}
.branding {
  padding: 25px 0 20px;
  text-align: center;
}
.logo {
  font:
    800 43px/1 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -2px;
  color: #1e1e1e;
}
.logo span {
  color: #e4572e;
}
.tagline {
  margin-top: 6px;
  color: #999;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.nav-wrap {
  border-top: 1px solid #eee;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav a {
  padding: 15px 19px;
  color: #282828;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav a:hover,
.nav a.active {
  color: #e4572e;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 23px;
}
.hero {
  padding: 35px 0 20px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(330px, 0.95fr);
  gap: 26px;
}
.hero-main {
  position: relative;
  overflow: hidden;
  background: #eee;
  border-radius: 3px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}
.hero-main img {
  width: 100%;
  height: 510px;
  object-fit: cover;
}
.overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 110px 36px 30px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}
.overlay .category {
  color: #fff;
}
.hero-main h1 {
  font:
    800 42px/1.05 Georgia,
    "Times New Roman",
    serif;
  margin: 8px 0;
  color: #fff;
  max-width: 800px;
}
.meta {
  font-size: 11px;
  color: #999;
}
.overlay .meta {
  color: #ddd;
}
.category {
  color: #e4572e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.hero-side {
  display: grid;
  gap: 17px;
}
.mini-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e8e8e8;
}
.mini-card img {
  width: 132px;
  height: 101px;
  object-fit: cover;
  border-radius: 3px;
}
.mini-card h3 {
  font:
    700 18px/1.22 Georgia,
    "Times New Roman",
    serif;
  color: #242424;
  margin: 5px 0;
}
.section {
  padding: 36px 0 60px;
}
.section.alt {
  background: #f8f8f7;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}
.section-title:after {
  content: "";
  height: 1px;
  background: #dedede;
  flex: 1;
}
.section-title h2 {
  margin: 0;
  color: #202020;
  font:
    800 27px/1 Georgia,
    "Times New Roman",
    serif;
}
.section-title .view-all {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e4572e;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.post-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.post-card .body {
  padding: 17px;
}
.post-card h3 {
  font:
    700 21px/1.18 Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 6px 0 8px;
}
.post-card p {
  font-size: 13px;
  color: #777;
  margin: 0;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
}
.main-list {
  display: grid;
  gap: 28px;
}
.post-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e7e7e7;
}
.post-row img {
  width: 280px;
  height: 190px;
  object-fit: cover;
  border-radius: 3px;
}
.post-row h2 {
  font:
    800 27px/1.12 Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 6px 0 9px;
}
.post-row p {
  margin: 0;
  color: #777;
  font-size: 13px;
}
.read-more {
  display: inline-block;
  margin-top: 11px;
  color: #e4572e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar {
  display: grid;
  gap: 25px;
  align-content: start;
}
.widget {
  border: 1px solid #e8e8e8;
  padding: 22px;
  border-radius: 3px;
  background: #fff;
}
.widget-title {
  margin: 0 0 17px;
  padding-bottom: 11px;
  border-bottom: 2px solid #222;
  color: #222;
  font:
    800 19px Georgia,
    "Times New Roman",
    serif;
}
.about-author {
  text-align: center;
}
.about-author img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: auto;
}
.about-author h3 {
  font:
    700 20px Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 10px 0 2px;
}
.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget li {
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.widget li:last-child {
  border: 0;
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tags a {
  border: 1px solid #e4e4e4;
  padding: 5px 9px;
  font-size: 10px;
  text-transform: uppercase;
}
.newsletter {
  background: #202020;
  color: #fff;
  border: 0;
}
.newsletter .widget-title {
  color: #fff;
  border-color: #555;
}
.newsletter p {
  color: #bbb;
  font-size: 13px;
}
.newsletter input {
  border: 0;
}
.btn {
  display: inline-block;
  border: 0;
  background: #e4572e;
  color: #fff;
  padding: 11px 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn:hover {
  background: #bd3f1e;
  color: #fff;
}
.breadcrumb {
  background: #f6f6f6;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  font-size: 11px;
  color: #888;
}
.breadcrumb strong {
  color: #333;
}
.page-title {
  padding: 42px 0 22px;
}
.page-title h1 {
  font:
    800 46px/1.05 Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 0;
}
.category-head {
  text-align: center;
  padding: 55px 0 38px;
}
.category-head h1 {
  font:
    800 51px Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 0;
}
.category-head p {
  max-width: 650px;
  margin: 10px auto;
  color: #888;
}
.article-wrap {
  padding: 30px 0 75px;
}
.article {
  max-width: 790px;
  margin: auto;
}
.article-header {
  text-align: center;
}
.article-header h1 {
  font:
    800 50px/1.06 Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 8px 0 12px;
}
.article-header .meta {
  margin-bottom: 26px;
}
.article-cover {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 32px;
}
.article-body {
  font:
    17px/1.9 Georgia,
    "Times New Roman",
    serif;
  color: #454545;
}
.article-body p {
  margin: 0 0 23px;
}
.article-body h2 {
  font:
    800 29px/1.2 Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 34px 0 12px;
}
.article-body img {
  width: 100%;
  margin: 26px 0;
  border-radius: 3px;
}
blockquote {
  margin: 30px 0;
  padding: 18px 25px;
  background: #f6f6f6;
  border-left: 4px solid #e4572e;
  font:
    italic 20px/1.65 Georgia,
    "Times New Roman",
    serif;
  color: #555;
}
.article-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e8e8e8;
  padding-top: 20px;
  margin-top: 35px;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  margin-top: 25px;
}
.post-nav div {
  max-width: 45%;
}
.post-nav small {
  color: #999;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1px;
}
.post-nav strong {
  display: block;
  color: #222;
  font:
    700 18px Georgia,
    "Times New Roman",
    serif;
  margin-top: 5px;
}
.author-box {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 20px;
  background: #f7f7f7;
  padding: 25px;
  margin-top: 30px;
}
.author-box img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
}
.author-box h3 {
  font:
    800 23px Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 0;
}
.comments {
  margin-top: 45px;
}
.comment {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}
.comment img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.comment h4 {
  margin: 0;
  color: #222;
}
.comment p {
  font-size: 13px;
  color: #777;
  margin: 3px 0;
}
.comment time {
  font-size: 10px;
  color: #aaa;
}
.comment-form {
  margin-top: 35px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-group {
  margin-bottom: 15px;
}
.form-group.full {
  grid-column: 1/-1;
}
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  outline: 0;
  font:
    14px Arial,
    Helvetica,
    sans-serif;
}
input:focus,
textarea:focus {
  border-color: #e4572e;
}
.alert {
  display: none;
  margin-top: 14px;
  padding: 12px;
  background: #f1f8f1;
  border: 1px solid #c9e5c9;
  color: #316b31;
  font-size: 13px;
}
.author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.author-card {
  text-align: center;
  border: 1px solid #e8e8e8;
  padding: 26px;
  background: #fff;
  border-radius: 4px;
}
.author-card img {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  margin: auto;
}
.author-card h3 {
  font:
    800 22px Georgia,
    "Times New Roman",
    serif;
  color: #222;
  margin: 10px 0 0;
}
.search-form {
  display: flex;
  gap: 10px;
  margin: 20px 0 35px;
}
.search-form input {
  flex: 1;
}
.search-count {
  color: #888;
  font-size: 12px;
  margin-bottom: 18px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 38px;
}
.pagination button,
.pagination a {
  min-width: 38px;
  height: 38px;
  border: 1px solid #e5e5e5;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.pagination .active,
.pagination button:hover,
.pagination a:hover {
  background: #e4572e;
  color: #fff;
  border-color: #e4572e;
}
.footer {
  background: #1b1b1b;
  color: #aaa;
  margin-top: 10px;
  padding: 48px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 35px;
}
.footer .logo {
  color: #fff;
  font-size: 31px;
}
.footer h4 {
  color: #fff;
  font:
    800 17px Georgia,
    "Times New Roman",
    serif;
  margin: 0 0 15px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer li {
  margin: 7px 0;
  font-size: 13px;
}
.copyright {
  border-top: 1px solid #444;
  margin-top: 35px;
  padding-top: 17px;
  text-align: center;
  font-size: 11px;
}
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  background: #e4572e;
  color: #fff;
  display: none;
  cursor: pointer;
  z-index: 30;
}
@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-side {
    grid-template-columns: 1fr 1fr;
  }
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .topbar {
    display: none;
  }
  .branding {
    padding: 21px 0;
  }
  .logo {
    font-size: 35px;
  }
  .nav {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .nav a {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav.open a {
    display: block;
    width: 100%;
    border-top: 1px solid #eee;
  }
  .hero {
    padding-top: 20px;
  }
  .hero-main img {
    height: 430px;
  }
  .hero-main h1 {
    font-size: 31px;
  }
  .hero-side,
  .posts-grid,
  .author-grid {
    grid-template-columns: 1fr;
  }
  .post-row {
    grid-template-columns: 1fr;
  }
  .post-row img {
    width: 100%;
    height: auto;
  }
  .article-header h1 {
    font-size: 37px;
  }
  .page-title h1,
  .category-head h1 {
    font-size: 39px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: auto;
  }
  .article-bottom,
  .post-nav {
    display: block;
  }
  .post-nav div {
    max-width: 100%;
    margin: 12px 0;
  }
  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-box img {
    margin: auto;
  }
}

/* BlogSonic v1.0.0 — enhanced navigation/search/pagination */
.header {
  position: sticky;
  top: 0;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.04);
}
.nav {
  position: relative;
}
.nav-search-toggle {
  width: 48px;
  height: 48px;
  margin-left: 8px;
  border: 0;
  border-left: 1px solid #e8e8e8;
  background: #fff;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-search-toggle:before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #222;
  border-radius: 50%;
  position: absolute;
  top: 14px;
  left: 14px;
  transition: 0.2s;
}
.nav-search-toggle:after {
  content: "";
  width: 8px;
  height: 2px;
  background: #222;
  position: absolute;
  transform: rotate(45deg);
  left: 28px;
  top: 30px;
  transition: 0.2s;
}
.nav-search-toggle:hover:before {
  border-color: #e4572e;
}
.nav-search-toggle:hover:after {
  background: #e4572e;
}
.header-search-drawer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  background: #fafafa;
  border-top: 1px solid #eee;
  transition: grid-template-rows 0.28s ease;
}
.header-search-drawer.open {
  grid-template-rows: 1fr;
  border-bottom: 1px solid #e5e5e5;
}
.header-search-drawer > .container {
  min-height: 0;
  overflow: hidden;
}
.header-search-form {
  padding: 22px 0 24px;
  max-width: 900px;
  margin: auto;
}
.header-search-form label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 800;
  color: #222;
  margin-bottom: 9px;
}
.header-search-input {
  display: flex;
  background: #fff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  height: 54px;
}
.header-search-input .search-glyph {
  font-size: 27px;
  line-height: 52px;
  padding-left: 16px;
  color: #999;
}
.header-search-input input {
  border: 0 !important;
  box-shadow: none !important;
  height: 52px;
  padding: 0 14px;
  flex: 1;
  font-size: 15px;
  background: transparent;
}
.header-search-input button {
  border: 0;
  background: #202020;
  color: #fff;
  padding: 0 26px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  cursor: pointer;
}
.header-search-input button:hover {
  background: #e4572e;
}
.header-search-form small {
  display: block;
  color: #999;
  font-size: 10px;
  margin-top: 8px;
}
.pagination {
  align-items: center;
  gap: 6px;
  padding: 18px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.pagination button {
  min-width: 42px;
  height: 42px;
  border: 1px solid #dedede;
  background: #fff;
  color: #333;
  border-radius: 2px;
  transition: 0.2s;
  font-size: 11px;
  font-weight: 800;
}
.pagination button:not(:disabled):hover {
  border-color: #202020;
  background: #202020;
  color: #fff;
  transform: translateY(-1px);
}
.pagination button.active {
  background: #e4572e;
  color: #fff;
  border-color: #e4572e;
  box-shadow: 0 6px 14px rgba(228, 87, 46, 0.2);
}
.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pagination .page-control {
  padding: 0 15px;
  min-width: 84px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.pagination .page-dots {
  width: 24px;
  text-align: center;
  color: #999;
  font-weight: 800;
}
.search-form {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  padding: 7px;
  border-radius: 2px;
  max-width: 820px;
}
.search-form input {
  border: 0;
  background: #fff;
  height: 48px;
}
.search-form input:focus {
  border: 0;
}
@media (max-width: 680px) {
  .header {
    position: relative;
  }
  .nav-search-toggle {
    margin-left: auto;
    border-left: 0;
    width: 42px;
  }
  .nav-search-toggle:before {
    left: 10px;
  }
  .nav-search-toggle:after {
    left: 24px;
  }
  .nav.open .nav-search-toggle {
    width: 100%;
    border-top: 1px solid #eee;
    justify-content: flex-start;
    padding-left: 14px;
  }
  .nav.open .nav-search-toggle:before {
    left: 14px;
  }
  .nav.open .nav-search-toggle:after {
    left: 28px;
  }
  .header-search-input {
    height: auto;
  }
  .header-search-input input {
    min-width: 0;
  }
  .header-search-input button {
    padding: 0 16px;
  }
  .pagination {
    gap: 4px;
    flex-wrap: wrap;
  }
  .pagination button {
    min-width: 38px;
    height: 38px;
  }
  .pagination .page-control {
    min-width: 72px;
    padding: 0 9px;
  }
}

/* =========================================================
   HOMEPAGE - ADDITIONAL MAGAZINE SECTIONS
   ========================================================= */

/* ---------- Trending Now ---------- */

.trending-section {
  background: #202020;
  color: #fff;
  padding: 70px 0;
}

.trending-section .section-title {
  border-color: rgba(255, 255, 255, 0.18);
  margin-bottom: 30px;
}

.trending-section .section-title h2 {
  color: #fff;
}

.trending-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trending-item {
  display: flex;
  gap: 18px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.trending-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.trending-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.trending-number {
  flex: 0 0 auto;
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
  color: #e4572e;
  font-weight: 700;
}

.trending-content .category {
  color: #e4572e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.trending-content h3 {
  margin: 8px 0 8px;
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.35;
}

.trending-content h3 a {
  color: #fff;
}

.trending-content h3 a:hover {
  color: #e4572e;
}

.trending-meta {
  color: #aaa;
  font-size: 12px;
}

/* ---------- Explore Categories ---------- */

.category-explore {
  padding: 80px 0;
  background: #fff;
}

.category-explore .section-intro {
  max-width: 680px;
  margin-bottom: 38px;
}

.category-explore .section-intro p {
  color: #777;
  margin-top: 10px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.category-tile {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: #202020;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.category-tile:nth-child(1) {
  grid-column: span 6;
}

.category-tile:nth-child(2),
.category-tile:nth-child(3),
.category-tile:nth-child(4),
.category-tile:nth-child(5) {
  grid-column: span 3;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: background 0.25s ease;
}

.category-tile:hover::after {
  background: rgba(0, 0, 0, 0.52);
}

.category-tile-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.category-tile-content span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  background: #e4572e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.category-tile-content h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 25px;
}

.category-tile-content p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* ---------- Newsletter CTA ---------- */

.newsletter-section {
  padding: 80px 0;
  background: #f5f3ef;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  padding: 55px;
  background: #fff;
  border: 1px solid #e5e2dd;
}

.newsletter-copy .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #e4572e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.newsletter-copy h2 {
  margin: 0 0 15px;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1.15;
}

.newsletter-copy p {
  max-width: 560px;
  margin: 0;
  color: #777;
  line-height: 1.8;
}

.newsletter-form-wrap {
  padding: 28px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
}

.newsletter-form-wrap label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ddd;
  background: #fff;
  outline: none;
}

.newsletter-form input:focus {
  border-color: #e4572e;
}

.newsletter-form button {
  height: 48px;
  padding: 0 22px;
  border: 0;
  background: #202020;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.newsletter-form button:hover {
  background: #e4572e;
}

.newsletter-note {
  margin-top: 12px;
  color: #999;
  font-size: 11px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .trending-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .trending-item:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .category-tile:nth-child(1) {
    grid-column: span 12;
  }

  .category-tile:nth-child(2),
  .category-tile:nth-child(3),
  .category-tile:nth-child(4),
  .category-tile:nth-child(5) {
    grid-column: span 6;
  }

  .newsletter-box {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 767px) {
  .trending-section,
  .category-explore,
  .newsletter-section {
    padding: 55px 0;
  }

  .trending-list {
    grid-template-columns: 1fr;
  }

  .trending-item,
  .trending-item:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-tile:nth-child(1),
  .category-tile:nth-child(2),
  .category-tile:nth-child(3),
  .category-tile:nth-child(4),
  .category-tile:nth-child(5) {
    grid-column: span 1;
  }

  .category-tile {
    min-height: 220px;
  }

  .newsletter-box {
    padding: 30px 22px;
  }

  .newsletter-copy h2 {
    font-size: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    height: 74px;
    padding: 16px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

/* =========================================================
   BLOG LEFT SIDEBAR LAYOUT
   ========================================================= */

.two-col.left-sidebar {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.two-col.left-sidebar > .sidebar {
  grid-column: 1;
  grid-row: 1;
}

.two-col.left-sidebar > .main-list {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

/* Pagination belongs to the main post column */
.two-col.left-sidebar .pagination {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: -20px 0 0;
}

/* Make article rows fit the wider content column */
.two-col.left-sidebar .post-row {
  grid-template-columns: 280px minmax(0, 1fr);
}

/* Sidebar widgets */
.two-col.left-sidebar .sidebar {
  width: 100%;
}

/* Tablet */
@media (max-width: 991px) {
  .two-col.left-sidebar {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 30px;
  }

  .two-col.left-sidebar .post-row {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
  }

  .two-col.left-sidebar .post-row img {
    width: 200px;
    height: 150px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .two-col.left-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .two-col.left-sidebar > .sidebar {
    grid-column: 1;
    grid-row: 1;
  }

  .two-col.left-sidebar > .main-list {
    grid-column: 1;
    grid-row: 2;
  }

  .two-col.left-sidebar .pagination {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0;
  }

  .two-col.left-sidebar .post-row {
    grid-template-columns: 1fr;
  }

  .two-col.left-sidebar .post-row img {
    width: 100%;
    height: auto;
  }
}

/* =========================================================
   BLOG GRID PAGE
   ========================================================= */

/* Page Intro */
.hero-alt {
  padding: 55px 0 38px;
  background: #fff;
}

.hero-alt .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.hero-alt h1 {
  margin: 0 0 12px;
  color: #202020;
  font:
    800 48px/1.08 Georgia,
    "Times New Roman",
    serif;
}

.hero-alt .muted {
  max-width: 680px;
}

/* Eyebrow */
.eyebrow {
  color: #e4572e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Muted Text */
.muted {
  color: #888;
}

/* Main Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/*
   Prevent nested .grid elements from creating
   an unwanted second grid.
*/
.grid > .grid {
  display: contents;
}

/* Grid Card */
.grid .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.grid .card:hover {
  transform: translateY(-5px);
  border-color: #ddd;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Card Image */
.grid .card .visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: transform 0.4s ease;
}

.grid .card:hover .visual {
  transform: scale(1.02);
}

/* Image link */
.grid .card > a {
  display: block;
  overflow: hidden;
}

/* Card Content */
.grid .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

/* Category */
.grid .card-body .category {
  margin-bottom: 8px;
}

/* Card Title */
.grid .card-body h3 {
  margin: 0 0 10px;
  color: #222;
  font:
    800 23px/1.18 Georgia,
    "Times New Roman",
    serif;
}

.grid .card-body h3 a {
  color: #222;
}

.grid .card-body h3 a:hover {
  color: #e4572e;
}

/* Card Description */
.grid .card-body p {
  margin: 0 0 17px;
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

/* Card Meta */
.grid .card-body .meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eee;
  color: #999;
  font-size: 10px;
}

/* Grid section spacing */
main > .section {
  padding-top: 25px;
  padding-bottom: 75px;
}

/* =========================================================
   BLOG GRID RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .hero-alt h1 {
    font-size: 42px;
  }
}

@media (max-width: 680px) {
  .hero-alt {
    padding: 35px 0 25px;
  }

  .hero-alt h1 {
    font-size: 36px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid .card-body {
    padding: 18px;
  }

  .grid .card-body h3 {
    font-size: 21px;
  }
}

/* =========================================================
   COMPACT BLOG POST LIST
   ========================================================= */

/* Do not use CSS Grid for the vertical post list */
.main-list {
  display: block;
  width: 100%;
}

/* Individual blog post */
.main-list .post-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;

  gap: 24px;

  width: 100%;
  height: auto;
  min-height: 0;

  margin: 0 0 28px;
  padding: 0 0 28px;

  border-bottom: 1px solid #e7e7e7;
}

/* Remove unnecessary margin from the final post */
.main-list .post-row:last-child {
  margin-bottom: 0;
}

/* Post image */
.main-list .post-row img {
  display: block;

  width: 280px;
  height: 190px;

  object-fit: cover;

  margin: 0;
  padding: 0;

  border-radius: 3px;
}

/* Post content */
.main-list .post-row > div {
  min-width: 0;
  height: auto;
}

/* Category */
.main-list .post-row .category {
  margin: 0 0 5px;
}

/* Title */
.main-list .post-row h2 {
  margin: 4px 0 8px;

  font:
    800 27px/1.12 Georgia,
    "Times New Roman",
    serif;

  color: #222;
}

/* Description */
.main-list .post-row p {
  margin: 0 0 5px;

  color: #777;

  font-size: 13px;
  line-height: 1.65;
}

/* Read more */
.main-list .post-row .read-more {
  margin-top: 8px;
}

/* =========================================================
   BLOG LIST PAGINATION
   ========================================================= */

.main-list .pagination {
  display: flex;

  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 7px;

  width: 100%;

  margin: 35px auto 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .main-list .post-row {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .main-list .post-row img {
    width: 220px;
    height: 160px;
  }

  .main-list .post-row h2 {
    font-size: 23px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {
  .main-list .post-row {
    display: block;

    margin-bottom: 25px;
    padding-bottom: 25px;
  }

  .main-list .post-row img {
    width: 100%;
    height: auto;

    aspect-ratio: 16 / 10;

    margin-bottom: 16px;
  }

  .main-list .post-row h2 {
    font-size: 24px;
  }
}
