/*--------------------------------------------------
  Page-specific styles (home, services, blog)
---------------------------------------------------*/

/* --- Shared CTA block --- */
.service-detail-cta__inner {
  background: #151515;
  border-radius: 8px;
  padding: 36px 40px;
}

.service-detail-cta__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f6ca2e;
}

.service-detail-cta__title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

/* --- Page footer overrides --- */
.page-home footer,
.page-home .footer {
  margin-top: 0 !important;
}

/* --- Home section spacing (half default layout padding) --- */
.page-home .layout-pt-xs { padding-top: 1.25rem; }
.page-home .layout-pt-sm { padding-top: 1.875rem; }
.page-home .layout-pt-md { padding-top: 2.5rem; }
.page-home .layout-pt-lg { padding-top: 3.75rem; }
.page-home .layout-pt-xl { padding-top: 5rem; }
.page-home .layout-pt-2xl { padding-top: 5.625rem; }

.page-home .layout-pb-xs { padding-bottom: 1.25rem; }
.page-home .layout-pb-sm { padding-bottom: 1.875rem; }
.page-home .layout-pb-md { padding-bottom: 2.5rem; }
.page-home .layout-pb-lg { padding-bottom: 3.75rem; }
.page-home .layout-pb-xl { padding-bottom: 5rem; }
.page-home .layout-pb-2xl { padding-bottom: 5.625rem; }

@media (max-width: 991px) {
  .page-home .layout-pt-md { padding-top: 1.875rem; }
  .page-home .layout-pt-lg { padding-top: 3.125rem; }
  .page-home .layout-pt-xl { padding-top: 3.75rem; }
  .page-home .layout-pt-2xl { padding-top: 5rem; }

  .page-home .layout-pb-md { padding-bottom: 1.875rem; }
  .page-home .layout-pb-lg { padding-bottom: 3.125rem; }
  .page-home .layout-pb-xl { padding-bottom: 3.75rem; }
  .page-home .layout-pb-2xl { padding-bottom: 5rem; }
}

@media (max-width: 767px) {
  .page-home .layout-pt-md { padding-top: 1.875rem; }
  .page-home .layout-pt-lg { padding-top: 2.5rem; }
  .page-home .layout-pt-xl { padding-top: 3.75rem; }
  .page-home .layout-pt-2xl { padding-top: 4.0625rem; }

  .page-home .layout-pb-md { padding-bottom: 1.875rem; }
  .page-home .layout-pb-lg { padding-bottom: 2.5rem; }
  .page-home .layout-pb-xl { padding-bottom: 3.125rem; }
  .page-home .layout-pb-2xl { padding-bottom: 3.75rem; }
}

.page-services .footer,
.page-blog .footer,
.page-blog_detail .footer,
.page-projects .footer {
  border-top: 15px solid #ca9d16;
}

.page-blog .footer,
.page-blog_detail .footer {
  z-index: 99;
  position: relative;
}

/* --- Home intro --- */
.home-intro__heading {
  margin-bottom: 0;
}

.home-intro__heading .sectionHeading__title {
  margin-bottom: 0;
}

.home-intro__list {
  margin-top: 28px;
  border-top: 1px solid #111;
}

.home-intro__item {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid #ececec;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease, padding-left 0.25s ease;
}

.home-intro__item:hover {
  opacity: 0.65;
  padding-left: 6px;
  color: inherit;
}

.home-intro__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-intro__item-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.home-intro__item-icon {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-intro__item:hover .home-intro__item-icon {
  opacity: 1;
  transform: translateX(0);
}

.home-intro__item-text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  max-width: 92%;
}

.home-intro__about {
  height: 100%;
}

.home-intro__panel {
  margin-top: 2px;
  background: #f7f7f7;
  border: 1px solid #ececec;
}

.home-intro__scroll {
  max-height: 50.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 32px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #111 #e5e5e5;
}

.home-intro__scroll::-webkit-scrollbar {
  width: 5px;
}

.home-intro__scroll::-webkit-scrollbar-track {
  background: #ececec;
}

.home-intro__scroll::-webkit-scrollbar-thumb {
  background: #111;
  border-radius: 999px;
}

.home-intro__scroll:focus {
  outline: none;
}

.home-intro__scroll:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.home-intro__content p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 14px;
}

.home-intro__content p:last-child {
  margin-bottom: 0;
}

.home-intro__content h2,
.home-intro__content h3 {
  font-size: 18px !important;
  margin: 0 0 10px;
}

.home-intro__content ul,
.home-intro__content ol {
  margin: 0 0 14px;
  padding-left: 18px;
}

.home-intro__content li {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 6px;
}

/* --- Home references --- */
.home-refs {
  background: #f7f7f7;
}

.home-refs__heading {
  margin-bottom: 0;
}

.home-refs__heading .sectionHeading__title {
  margin-bottom: 0;
}

.home-refs__carousel {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.home-refs__slider {
  flex: 1;
  min-width: 0;
  height: clamp(22rem, 36vw, 28.5rem);
  overflow: hidden;
  border-top: 1px solid #111;
}

.home-refs__list {
  margin-top: 0;
  border-top: none;
}

.home-refs__slider .swiper-slide {
  height: calc((100% - 0px) / 3);
  box-sizing: border-box;
}

.home-refs__slider .home-refs__item {
  height: 100%;
  box-sizing: border-box;
}

.home-refs__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.home-refs__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #151515;
  border-radius: 50%;
  background: transparent;
  color: #151515;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.home-refs__nav-btn:hover:not(.swiper-button-disabled) {
  background: #151515;
  color: #fff;
}

.home-refs__nav-btn.swiper-button-disabled {
  opacity: 0.28;
  cursor: default;
}

.home-refs__nav-btn .icon {
  width: 20px;
  height: 20px;
}

.home-refs__item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) clamp(9rem, 18vw, 13.5rem) 1.75rem;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-bottom: 1px solid #ddd;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease, padding-left 0.25s ease;
}

.home-refs__item:hover {
  opacity: 0.72;
  padding-left: 6px;
  color: inherit;
}

.home-refs__index {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #bbb;
  transition: color 0.25s ease;
}

.home-refs__item:hover .home-refs__index {
  color: #888;
}

.home-refs__body {
  min-width: 0;
}

.home-refs__cat {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.home-refs__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: #151515;
}

.home-refs__media {
  overflow: hidden;
  background: #ececec;
}

.home-refs__media .ratio {
  transition: transform 0.45s ease, opacity 0.35s ease;
}

.home-refs__item:hover .home-refs__media .ratio {
  transform: scale(1.04);
  opacity: 0.92;
}

.home-refs__arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: #151515;
}

.home-refs__item:hover .home-refs__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Home hero CTAs --- */
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}

.home-hero__actions .button {
  margin-top: 32px !important;
}

.home-hero__actions .button.ml-20 {
  margin-left: 0 !important;
}

/* --- Home CTA extras --- */
.home-cta__desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38rem;
}

.home-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* --- Services listing --- */
.services-page__heading {
  margin-bottom: 0;
}

.services-page__heading .sectionHeading__subtitle {
  margin-bottom: 0;
}

.services-page__heading .sectionHeading__title {
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

.services-page__intro-row {
  padding-top: 1rem;
  margin-top: 0;
}

.services-page__grid {
  padding-top: 1rem;
  margin-top: 0;
}

.services-page__intro p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 14px;
}

.services-page__intro p:last-child {
  margin-bottom: 0;
}

.services-page__intro h2,
.services-page__intro h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 12px;
  line-height: 1.35;
}

.services-page__intro ul,
.services-page__intro ol {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.services-page__intro li {
  margin-bottom: 6px;
  line-height: 1.65;
  color: #444;
}

.services-page__card {
  height: 100%;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.services-page__card:hover {
  border-color: #d9d9d9;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.services-page__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.services-page__card-media {
  position: relative;
  overflow: hidden;
}

.services-page__card-media .ratio {
  transition: transform 0.45s ease;
}

.services-page__card:hover .services-page__card-media .ratio {
  transform: scale(1.04);
}

.services-page__card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 24px;
}

.services-page__card-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #151515;
  background: #f6ca2e;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(246, 202, 46, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-page__card:hover .services-page__card-label {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 202, 46, 0.45);
}

.services-page__card-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #151515;
}

.services-page__card-text {
  flex: 1;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #666;
}

.services-page__card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #151515;
  transition: gap 0.25s ease, color 0.25s ease;
}

.services-page__card:hover .services-page__card-action {
  gap: 12px;
  color: #ca9d16;
}

/* --- Projects listing --- */
.projects-page__header {
  max-width: 40rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.projects-page__headline {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #151515;
}

.projects-page__intro {
  margin-top: 1.25rem;
}

.projects-page__intro p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #777;
}

.projects-page__intro p:last-child {
  margin-bottom: 0;
}

.projects-page__intro h2,
.projects-page__intro h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 0 10px;
  line-height: 1.35;
  color: #333;
}

.projects-page__grid {
  margin-top: 0;
}

.projects-page__card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.projects-page__card-media {
  overflow: hidden;
  background: #f5f5f5;
}

.projects-page__card-media .ratio {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.projects-page__card-link:hover .projects-page__card-media .ratio {
  transform: scale(1.02);
  opacity: 0.92;
}

.projects-page__card-placeholder {
  background: #eee;
}

.projects-page__card-meta {
  padding-top: 18px;
}

.projects-page__card-cat {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
}

.projects-page__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: #151515;
  transition: color 0.25s ease;
}

.projects-page__card-link:hover .projects-page__card-title {
  color: #666;
}

.projects-page__empty {
  padding: 3rem 0;
}

.projects-page__empty-text {
  font-size: 15px;
  color: #999;
}

.projects-page-cta__inner {
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid #eee;
}

.projects-page-cta__text {
  font-size: 15px;
  color: #666;
}

.projects-page-cta__text a {
  margin-left: 6px;
  font-weight: 500;
  color: #151515;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.projects-page-cta__text a:hover {
  color: #666;
}

/* --- Service detail --- */
.service-detail__back {
  margin-bottom: 24px;
}

.service-detail__back .geri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: lowercase;
  color: #151515;
}

.service-detail__back .geri:hover {
  color: #666;
}

.service-detail__media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.service-detail__heading .sectionHeading__subtitle {
  margin-bottom: 0;
}

.service-detail__lead {
  color: #555;
  line-height: 1.65;
  max-width: 38rem;
}

.service-detail__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-detail__content-wrap {
  position: relative;
  margin-top: 0;
}

.service-detail__content-wrap .home-seo__content.is-collapsed {
  max-height: 22rem;
}

.service-detail__body p {
  font-size: 16px;
  line-height: 1.65;
  color: #444;
  margin: 0 0 12px;
}

.service-detail__body p:last-child {
  margin-bottom: 0;
}

.service-detail__body h2,
.service-detail__body h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 12px;
  line-height: 1.35;
}

.service-detail__body h2:not(:first-child),
.service-detail__body h3:not(:first-child) {
  margin-top: 28px;
}

.service-detail__body ul,
.service-detail__body ol {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.service-detail__body li {
  margin-bottom: 6px;
  line-height: 1.6;
  color: #444;
}

.service-detail__body li:last-child {
  margin-bottom: 0;
}

.service-detail__body table {
  width: 100%;
  margin: 16px 0;
  font-size: 15px;
}

.service-detail__body table thead {
  background: #f5f5f5;
}

.service-detail__body table td,
.service-detail__body table th {
  border: 1px solid #ececec;
  padding: 8px 10px;
}

.service-detail__block {
  background: #fafafa;
  border: 1px solid #efefef;
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 16px;
}

.service-detail__block:last-child {
  margin-bottom: 0;
}

.service-detail__block h3 {
  margin-top: 0 !important;
}

.service-detail__sidebar {
  position: sticky;
  top: 110px;
}

.service-detail__contact {
  padding: 28px;
  border-radius: 8px;
}

.service-detail__contact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail__contact-list li + li {
  margin-top: 10px;
}

.service-detail__contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #151515;
  word-break: break-word;
}

.service-detail__contact-list a:hover {
  color: #333;
}

.service-detail__nav {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #efefef;
  border-radius: 8px;
  background: #fff;
}

.service-detail__nav-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.service-detail__nav-list li + li {
  border-top: 1px solid #f0f0f0;
}

.service-detail__nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: #151515;
}

.service-detail__nav-list a:hover {
  color: #666;
}

/* --- Blog listing --- */
.blog-page__heading {
  margin-bottom: 0;
}

.blog-page__heading .sectionHeading__subtitle {
  margin-bottom: 0;
}

.blog-page__heading .sectionHeading__title {
  margin-top: 0.5rem !important;
}

.blog-page__intro-row {
  padding-top: 1.25rem;
  margin-top: 0;
}

.blog-page__intro p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 14px;
}

.blog-page__intro p:last-child {
  margin-bottom: 0;
}

.blog-page__intro h2,
.blog-page__intro h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 12px;
  line-height: 1.35;
}

.blog-page__search-notice {
  margin-top: 1.5rem;
  padding: 16px 20px;
  border-left: 3px solid #ca9d16;
  background: #fafafa;
  border-radius: 0 8px 8px 0;
}

.blog-page__search-notice-text {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.blog-page__search-notice-text strong {
  color: #151515;
}

.blog-page__search-notice-text a {
  font-weight: 600;
  color: #151515;
  text-decoration: underline;
}

.blog-page__search-notice-text a:hover {
  color: #ca9d16;
}

.blog-page__main {
  padding-top: 2.5rem;
  margin-top: 0;
}

.blog-page__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-page__post {
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-page__post:hover {
  border-color: #d9d9d9;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.blog-page__post-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-page__post.-has-image .blog-page__post-link {
  flex-direction: row;
}

.blog-page__post-media {
  flex-shrink: 0;
  overflow: hidden;
  width: 100%;
}

.blog-page__post.-has-image .blog-page__post-media {
  width: 42%;
  max-width: 280px;
}

.blog-page__post-media .ratio {
  transition: transform 0.45s ease;
}

.blog-page__post:hover .blog-page__post-media .ratio {
  transform: scale(1.04);
}

.blog-page__post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px;
}

.blog-page__post:not(.-has-image) .blog-page__post-body {
  border-top: 3px solid #ca9d16;
}

.blog-page__post-title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #151515;
}

.blog-page__post-excerpt {
  flex: 1;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #666;
}

.blog-page__post-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #151515;
  transition: gap 0.25s ease, color 0.25s ease;
}

.blog-page__post:hover .blog-page__post-action {
  gap: 12px;
  color: #ca9d16;
}

.blog-page__empty {
  padding: 48px 32px;
  text-align: center;
  border: 1px dashed #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.blog-page__empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #151515;
}

.blog-page__empty-text {
  font-size: 15px;
  line-height: 1.65;
  color: #666;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* --- Blog sidebar (listing + detail) --- */
.blog-page__sidebar {
  position: sticky;
  top: 110px;
  padding-left: 1.5rem;
}

.blog-page__widget {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #efefef;
  border-radius: 8px;
  background: #fff;
}

.blog-page__widget-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #151515;
}

.blog-page__widget-search .search__wrap {
  position: relative;
}

.blog-page__widget-search .search__field {
  width: 100%;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 44px 12px 14px;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.blog-page__widget-search .search__field:focus {
  outline: none;
  border-color: #ca9d16;
  background: #fff;
}

.blog-page__widget-search .search__button {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

.blog-page__widget-search .search__button:hover {
  color: #ca9d16;
}

.blog-page__cat-list li {
  margin-bottom: 0;
}

.blog-page__cat-list li + li {
  border-top: 1px solid #f0f0f0;
}

.blog-page__cat-list a {
  display: block;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 500;
  color: #151515;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.blog-page__cat-list a:hover {
  color: #ca9d16;
  padding-left: 4px;
}

.blog-page__contact {
  padding: 28px;
  border-radius: 8px;
}

.blog-page__contact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-page__contact-list li + li {
  margin-top: 10px;
}

.blog-page__contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #151515;
  word-break: break-word;
}

.blog-page__contact-list a:hover {
  color: #333;
}

/* --- Blog detail --- */
.blog-detail__back {
  margin-bottom: 28px;
}

.blog-detail__back .geri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: lowercase;
  color: #151515;
}

.blog-detail__back .geri:hover {
  color: #666;
}

.blog-detail__header {
  margin-bottom: 28px;
}

.blog-detail__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ca9d16;
  margin: 0 0 12px;
}

.blog-detail__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: #151515;
}

.blog-detail__media {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 32px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.blog-detail__body {
  margin-top: 0;
}

.blog-detail__body .fnp-blog-detay-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 14px;
}

.blog-detail__body .fnp-blog-detay-body p:last-child {
  margin-bottom: 0;
}

.blog-detail__body .fnp-blog-detay-body h2,
.blog-detail__body .fnp-blog-detay-body h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 28px 0 12px;
  line-height: 1.35;
  color: #151515;
}

.blog-detail__body .fnp-blog-detay-body h2:first-child,
.blog-detail__body .fnp-blog-detay-body h3:first-child {
  margin-top: 0;
}

.blog-detail__body .fnp-blog-detay-body ul,
.blog-detail__body .fnp-blog-detay-body ol {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.blog-detail__body .fnp-blog-detay-body li {
  margin-bottom: 6px;
  line-height: 1.65;
  color: #444;
}

.blog-detail__body .fnp-blog-detay-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.blog-detail__body .fnp-blog-detay-body a {
  color: #0563c1;
  text-decoration: underline;
}

.blog-detail__body .fnp-blog-detay-body a:hover {
  color: #044a91;
}

.blog-detail .alert-warning {
  background: #fafafa;
  border-left: 3px solid #ca9d16;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.fnp-blog-detay-backlinks {
  border-top: 1px solid #ececec;
  padding-top: 1.25rem;
  margin-top: 1.75rem;
}

.fnp-blog-detay-backlinks__list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.fnp-blog-detay-backlinks__list li {
  margin: 0.35rem 0;
}

.fnp-blog-detay-backlinks__a {
  color: #0563c1;
  text-decoration: underline;
}

.fnp-blog-detay-backlinks__a:hover {
  color: #044a91;
}

.blog-detail__pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #ececec;
}

.blog-detail__pager-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-detail__pager-item:hover {
  border-color: #d9d9d9;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  color: inherit;
}

.blog-detail__pager-item.-next {
  text-align: right;
  align-items: flex-end;
}

.blog-detail__pager-item.-empty {
  visibility: hidden;
  pointer-events: none;
}

.blog-detail__pager-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ca9d16;
}

.blog-detail__pager-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #151515;
}

.blog-detail__pager-item:hover .blog-detail__pager-title {
  color: #333;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .home-intro__scroll {
    max-height: 25rem;
    padding: 24px;
  }

  .home-intro__about {
    margin-top: 8px;
  }

  .home-refs__item {
    grid-template-columns: 2.75rem minmax(0, 1fr) clamp(7rem, 14vw, 10rem) 1.5rem;
    gap: 1rem 1.25rem;
  }

  .home-refs__slider {
    height: clamp(20rem, 42vw, 26rem);
  }

  .service-detail__sidebar {
    position: static;
    top: auto;
  }

  .blog-page__sidebar {
    position: static;
    top: auto;
    padding-left: 0;
    margin-top: 2rem;
  }

  .service-detail-cta__inner {
    padding: 28px 24px;
  }

  .service-detail-cta .text-lg-right {
    text-align: left !important;
  }

  .home-cta__buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .home-intro__item {
    padding: 18px 0;
  }

  .home-intro__list {
    margin-top: 22px;
  }

  .home-intro__scroll {
    max-height: 20rem;
    padding: 20px;
  }

  .home-refs__slider {
    height: clamp(15rem, 48vw, 20rem);
  }

  .home-refs__slider .swiper-slide {
    height: calc(100% / 3);
  }

  .home-refs__nav-btn {
    width: 40px;
    height: 40px;
  }

  .home-refs__item {
    grid-template-columns: 1.75rem minmax(0, 1fr) clamp(3.75rem, 14vw, 5rem);
    gap: 8px 10px;
    padding: 10px 0;
  }

  .home-refs__index {
    font-size: 0.95rem;
  }

  .home-refs__cat {
    font-size: 9px;
    margin-bottom: 3px;
  }

  .home-refs__title {
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .home-refs__arrow {
    display: none;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__actions .button {
    width: 100%;
    max-width: 280px;
  }

  .services-page__card-body {
    padding: 22px 20px 20px;
  }

  .blog-page__post.-has-image .blog-page__post-link {
    flex-direction: column;
  }

  .blog-page__post.-has-image .blog-page__post-media {
    width: 100%;
    max-width: none;
  }

  .blog-page__post-body {
    padding: 20px;
  }

  .blog-page__empty {
    padding: 36px 20px;
  }

  .blog-detail__pager {
    grid-template-columns: 1fr;
  }

  .blog-detail__pager-item.-next {
    text-align: left;
    align-items: flex-start;
  }

  .blog-detail__pager-item.-empty {
    display: none;
  }

  .projects-page__card-meta {
    padding-top: 14px;
  }
}
