/* Shared layout for services & projects pages */

.page-services {
  background: #f8fafc;
  padding-bottom: 80px;
}

.page-projects,
.page-project-detail {
  background: #f8fafc;
  padding-bottom: 80px;
}

/* Projects hero (matches services hero style) */

.projects-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: 560px;
  overflow: hidden;
  color: #fff;
}

.projects-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #020617;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transform-origin: center;
}

.projects-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.35)),
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.35), transparent 55%);
  mix-blend-mode: multiply;
}

.projects-hero-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 32px 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.projects-hero-subtitle {
  position: absolute;
  left: 32px;
  bottom: 14px;
  font-size: clamp(3.5rem, 7vw, 5.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(148, 163, 184, 0.18);
  -webkit-text-stroke: 1.5px rgba(148, 163, 184, 0.5);
  text-stroke: 1.5px rgba(148, 163, 184, 0.5);
  paint-order: stroke fill;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0.8;
}

.projects-hero-title {
  position: relative;
  max-width: 640px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #f9fafb;
  text-shadow:
    0 18px 40px rgba(15, 23, 42, 0.85),
    0 0 8px rgba(15, 23, 42, 0.9);
}

/* Hero */

.services-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: 560px;
  overflow: hidden;
  color: #fff;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #020617;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transform-origin: center;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.35)),
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.35), transparent 55%);
  mix-blend-mode: multiply;
}

.services-hero-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 32px 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.services-hero-subtitle {
  position: absolute;
  left: 32px;
  bottom: 14px;
  font-size: clamp(3.5rem, 7vw, 5.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(148, 163, 184, 0.18);
  -webkit-text-stroke: 1.5px rgba(148, 163, 184, 0.5);
  text-stroke: 1.5px rgba(148, 163, 184, 0.5);
  paint-order: stroke fill;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0.8;
}

.services-hero-title {
  position: relative;
  max-width: 640px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #f9fafb;
  text-shadow:
    0 18px 40px rgba(15, 23, 42, 0.85),
    0 0 8px rgba(15, 23, 42, 0.9);
}

/* Layout */

.services-layout {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.services-sidebar {
  flex: 0 0 320px;
  max-width: 320px;
}

.services-sidebar-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.services-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.services-menu-item {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 16px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition:
    background-color 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease,
    transform 0.06s ease;
}

.services-menu-item:hover {
  background: #e0ecff;
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.services-menu-item.is-active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-color: #1d4ed8;
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}

.services-main {
  flex: 1 1 auto;
  min-width: 0;
}

.services-description {
  max-width: 960px;
  font-size: 1rem;
  color: #0f172a;
}

.services-description h1,
.services-description h2,
.services-description h3 {
  margin: 1.8rem 0 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.services-description h1 {
  font-size: 2rem;
}

.services-description h2 {
  font-size: 1.6rem;
}

.services-description h3 {
  font-size: 1.3rem;
}

.services-description p {
  margin: 0.4rem 0 0.8rem;
  line-height: 1.75;
  color: #111827;
}

.services-description ul,
.services-description ol {
  margin: 0.6rem 0 1rem 1.3rem;
  padding: 0;
}

.services-description li {
  margin: 0.18rem 0;
  line-height: 1.6;
}

.services-description a {
  color: #2563eb;
  text-decoration: underline;
}

.services-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-btn-primary,
.services-btn-secondary {
  min-width: 0;
}

/* Icon base */

.project-icon-svg {
  width: 20px;
  height: 20px;
  fill: #e5e7eb;
  display: block;
}

/* CTA block */

.services-cta {
  position: relative;
  margin: 4px 0 26px;
  padding: 18px 20px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.35), transparent 55%),
    linear-gradient(135deg, #0f172a, #1d4ed8);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.6) inset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  color: #e5efff;
  transition:
    transform 0.14s ease,
    box-shadow 0.16s ease,
    background 0.25s ease;
}

.services-cta::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 0%, rgba(96, 165, 250, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.18), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.services-cta-body {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.services-cta-kicker {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #bfdbfe;
}

.services-cta-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.services-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.services-cta .btn {
  text-decoration: none;
}

.services-cta-btn-primary {
  background: #facc15;
  border-color: #facc15;
  color: #111827;
  box-shadow: 0 8px 18px rgba(250, 204, 21, 0.35);
}

.services-cta-btn-primary:hover {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  border-color: #f59e0b;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.45);
}

/* Override global .btn hover (blue) specifically for CTA primary button */
.services-cta .btn.services-cta-btn-primary:hover {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  border-color: #f59e0b;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.45);
  color: #111827;
}

.services-cta-btn-secondary {
  border-color: rgba(191, 219, 254, 0.9);
  color: #e5efff;
  background: rgba(15, 23, 42, 0.2);
}

.services-cta-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.5);
  border-color: #e5e7eb;
}

.services-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.8) inset;
  background:
    radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.55), transparent 55%),
    linear-gradient(135deg, #020617, #1d4ed8);
}

/* Keep CTA colors even when nested inside .services-description */
.services-description .services-cta {
  color: #e5efff;
}

.services-description .services-cta-kicker {
  color: #bfdbfe;
}

.services-description .services-cta-text {
  color: #e5e7eb;
}

.services-description .services-cta-btn-primary,
.services-description .services-cta-btn-primary:visited {
  color: #111827;
}

/* CTA on project detail page: extra spacing + white text */
.project-detail-cta {
  margin: 28px 0 0;
}

.project-detail-cta .services-cta-kicker,
.project-detail-cta .services-cta-text {
  color: #f9fafb;
}

/* Keep primary/secondary CSV buttons looking like standard .btn styles
   even when they are moved inside the description under \"Zašto Trša\". */
.services-description .services-actions .btn {
  text-decoration: none;
}

.services-description .services-actions .btn:not(.secondary),
.services-description .services-actions .btn:not(.secondary):visited {
  color: #ffffff;
}

.services-description .services-actions .btn.secondary,
.services-description .services-actions .btn.secondary:visited {
  color: #3b82f6;
}

/* Projects grid */

.projects-shell {
  margin-top: 40px;
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.projects-filter-chip {
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition:
    background-color 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.16s ease,
    transform 0.06s ease;
}

.projects-filter-chip:hover {
  background: #e0ecff;
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.projects-filter-chip.is-active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-color: #1d4ed8;
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.35);
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card-image {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
}

.project-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
  opacity: 0;
  transform: translateY(8px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 14px 16px;
  gap: 6px;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.project-card-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-card-line-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e5e7eb;
}

.project-card-line-location {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.project-card-line-stats {
  flex-wrap: wrap;
  gap: 6px;
}

.project-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.75rem;
  color: #e5e7eb;
}

.project-card-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-card-stat-chip .project-icon-svg {
  width: 14px;
  height: 14px;
}

.project-card:hover .project-card-image img {
  transform: scale(1.06);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card-meta {
  display: none;
  padding: 10px 12px 12px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.project-card-meta .project-card-line-main {
  color: #0f172a;
}

.project-card-meta .project-card-line-location {
  color: #4b5563;
}

.project-card-meta .project-card-stat-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Embedded projects row for services/home */

.projects-row-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 24px;
}

@media (max-width: 800px) {
  .projects-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Image lightbox for embedded images */

.media-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
}

.media-lightbox-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.media-lightbox-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.media-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.media-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.media-lightbox-arrow-prev {
  left: 10px;
}

.media-lightbox-arrow-next {
  right: 10px;
}

/* Responsive */

@media (max-width: 1024px) {
  .services-hero-inner {
    padding: 42px 20px 56px;
  }

  .services-hero-subtitle {
    left: 20px;
    bottom: 4px;
  }

  .services-layout {
    gap: 24px;
  }

  .services-sidebar {
    flex-basis: 260px;
    max-width: 260px;
  }

  /* Stack CTA text and button vertically on tablet widths */
  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px 18px;
    gap: 12px;
  }

  .services-cta-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .services-hero {
    min-height: 230px;
  }

  .services-hero-inner {
    padding: 56px 16px 72px;
  }

  .services-hero-subtitle {
    font-size: clamp(3.2rem, 12vw, 4.4rem);
    bottom: 10px;
  }

  .services-layout {
    flex-direction: column;
  }

  .page-services .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }

  .services-sidebar {
    display: none;
  }

  .services-main {
    padding-top: 8px;
  }

  .services-actions {
    margin-top: 20px;
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 16px 18px;
    gap: 12px;
  }

  .services-cta-actions {
    width: 100%;
    justify-content: flex-start;
  }

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

  /* On phone: show meta under image instead of hover overlay */
  .project-card-overlay {
    display: none;
  }

  .project-card-meta {
    display: block;
  }

  .project-card-meta .project-icon-svg {
    fill: #6b7280;
  }

  /* On phone: ensure project cards in rows have equal height and no underlines */
  .project-card-link {
    text-decoration: none !important;
  }

  .projects-row-grid {
    align-items: stretch;
  }

  .projects-row-grid .project-card {
    height: 100%;
  }

  .projects-row-grid .project-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .projects-row-grid .project-card-image {
    flex: 0 0 auto;
  }

  .projects-row-grid .project-card-meta {
    flex: 1 0 auto;
  }

  .page-projects .wrap,
  .page-project-detail .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }

  .projects-hero {
    min-height: 260px;
  }
}

/* Project detail */

.project-detail-header {
  margin: 34px 0 20px;
}

.project-detail-breadcrumb {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: #64748b;
}

.project-detail-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.project-detail-breadcrumb a:hover {
  text-decoration: underline;
}

.project-detail-title {
  margin: 0 0 4px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.project-detail-short {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #374151;
}

.project-slider {
  position: relative;
  margin: 24px 0 26px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
}

.project-slider-frame {
  position: relative;
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
}

.project-slider-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.project-slider-frame.project-slider-frame--cover img {
  object-fit: cover;
}

.project-slider-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  transform: scale(1.08);
  z-index: 0;
}

.project-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.project-slider-arrow-icon svg {
  width: 20px;
  height: 20px;
  fill: #e5e7eb;
  display: block;
}

.project-slider-arrow-prev {
  left: 12px;
}

.project-slider-arrow-next {
  right: 12px;
}

.project-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.project-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(148, 163, 184, 0.8);
  cursor: pointer;
}

.project-slider-dot.is-active {
  width: 14px;
  background: #facc15;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-areas:
    "desc meta"
    "cta  meta";
  gap: 32px;
  margin-top: 24px;
}

.project-detail-description h2,
.project-detail-meta h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.project-detail-description h2 {
  font-size: 1.3rem;
}

.project-detail-description p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #111827;
}

.project-detail-description {
  grid-area: desc;
}

.project-detail-meta {
  grid-area: meta;
}

.project-detail-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.project-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.project-detail-meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-detail-meta-icon .project-icon-svg {
  width: 18px;
  height: 18px;
}

.project-detail-meta-text {
  display: flex;
  flex-direction: column;
}

.project-detail-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #94a3b8;
}

.project-detail-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.project-detail-stats {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-stat-card {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 4px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.project-stat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-stat-icon-wrap .project-icon-svg {
  width: 18px;
  height: 18px;
}

.project-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #94a3b8;
  display: block;
}

.project-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  display: block;
  margin-top: 2px;
}

/* CTA on project detail page: extra spacing + white text */
.project-detail-cta {
  margin: 16px 0 0;
  grid-area: cta;
}

.project-detail-cta .services-cta-kicker,
.project-detail-cta .services-cta-text {
  color: #f9fafb;
}

@media (max-width: 960px) {
  .project-detail-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas:
      "desc meta"
      "cta  meta";
  }

  .project-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .project-detail-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "desc"
      "meta"
      "cta";
  }

  .project-detail-stats {
    grid-template-columns: 1fr;
  }

  .project-slider-frame {
    padding-top: 60%;
  }

  .project-detail-title {
    font-size: 1.8rem;
  }

  .project-detail-short {
    font-size: 1rem;
  }

  .page-project-detail .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}
