.post-page {
  background: #ececec;
  color: #171717;
}

.post-hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.48)),
    url('../img/agency/banner.jpg') center/cover no-repeat;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.post-hero-inner {
  position: relative;
  z-index: 2;
  padding: 20px 0 24px;
}

.post-hero .ink-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  margin-bottom: 10px;
}

.post-hero .ink-breadcrumb a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.post-hero .ink-breadcrumb a:hover {
  color: #ffd87a;
}

.post-hero .ink-breadcrumb .sep,
.post-hero .ink-breadcrumb .sep-icon {
  color: rgba(255, 255, 255, 0.78);
}

.post-hero .ink-breadcrumb > span:last-child {
  color: #fff;
}

.post-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
  max-width: 900px;
}

.post-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.post-meta .material-icons {
  font-size: 16px;
  color: var(--accent);
}

.post-layout {
  padding: 24px 0 40px;
}

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.post-content,
.sidebar-card,
.sidebar-spotlight {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.post-content {
  padding: 18px;
}

.post-entry {
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.7;
}

.post-featured-inline {
  margin: 0 0 14px;
}

.post-featured-inline img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.post-entry > *:first-child {
  margin-top: 0;
}

.post-entry p,
.post-entry li {
  text-align: justify;
}

.post-entry h2,
.post-entry h3,
.post-entry h4 {
  color: #1f1f1f;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

.post-entry blockquote {
  margin: 1.2em 0;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: #faf7f1;
  border-radius: 8px;
}

.post-entry img {
  border-radius: 12px;
}

.post-tags {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 0, 0, 0.16);
}

.post-tags h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.post-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tag-list a,
.tag-cloud a {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(239, 146, 33, 0.15);
  color: #1b1b1b;
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.post-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.sidebar-card {
  padding: 14px;
}

.sidebar-spotlight {
  padding: 16px;
  background: linear-gradient(160deg, #151515 0%, #050505 100%);
  color: #fff;
  border: 1px solid rgba(239, 146, 33, 0.5);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.sidebar-spotlight small {
  display: inline-block;
  background: rgba(239, 146, 33, 0.2);
  color: var(--accent);
  border: 1px solid rgba(239, 146, 33, 0.45);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 8px;
}

.sidebar-spotlight h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.sidebar-spotlight p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.4;
}

.sidebar-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 12px;
}

.sidebar-btn + .sidebar-btn {
  margin-top: 8px;
}

.sidebar-btn .material-icons {
  font-size: 16px;
}

.sidebar-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.sidebar-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #212121;
}

.sidebar-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sidebar-card li a {
  color: #2a2a2a;
  font-weight: 500;
}

.sidebar-card .cat-item,
.sidebar-card .cat-item a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.sidebar-card-cats .cat-item a {
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-card-cats .cat-item a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
  border-color: rgba(239, 146, 33, 0.45);
}

.sidebar-card-cats .cat-item em {
  font-style: normal;
  background: linear-gradient(180deg, #252525 0%, #101010 100%);
  color: #fff;
  border-radius: 999px;
  min-width: 22px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  border: 1px solid rgba(239, 146, 33, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sidebar-card-latest li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-card-latest li strong {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1e1e1e 0%, #080808 100%);
  color: #fff;
  font-size: 10px;
  border: 1px solid rgba(239, 146, 33, 0.6);
}

.sidebar-card-latest li a {
  line-height: 1.28;
  font-size: 14px;
  font-weight: 500;
}

.sidebar-card-latest li:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.09);
  border-color: rgba(239, 146, 33, 0.45);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-signs {
  margin: 4px 0 12px;
}

.services-signs {
  display: flex;
  gap: 6px;
}

.services-mark {
  width: 14px;
  height: 10px;
  background: var(--accent);
  transform: skewX(-28deg);
  border-radius: 1px;
}

.post-comment-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(239, 146, 33, 0.35);
  background: linear-gradient(180deg, #fff8ee 0%, #fff 100%);
}

.post-comment-box h3 {
  margin: 0;
  font-size: 24px;
}

.comment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.post-comment-box input,
.post-comment-box textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  color: #1d1d1d;
  background: #fff;
  margin-top: 8px;
}

.post-comment-box textarea {
  resize: vertical;
  min-height: 110px;
}

.post-comment-box button {
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: #22d07d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 11px 16px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .post-hero {
    min-height: 220px;
  }

  .post-hero h1 {
    font-size: 34px;
  }

  .post-content,
  .sidebar-card,
  .sidebar-spotlight {
    border-radius: 12px;
  }

  .comment-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sidebar-card-cats .cat-item a {
    padding: 9px 10px;
  }

  .sidebar-card-latest li a {
    font-size: 14px;
  }
}
