﻿.single-hero.split-hero{
  position: relative;
  background: transparent;
  padding: 24px 0;
  overflow: hidden;
}

.single-hero.split-hero::before,
.single-hero.split-hero::after{
  content: none;
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.single-hero.split-hero::before{
  width: 520px;
  height: 520px;
  left: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(34, 116, 165, 0.2), rgba(34, 116, 165, 0));
  opacity: 0.25;
}

.single-hero.split-hero::after{
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(243, 107, 43, 0.18), rgba(243, 107, 43, 0));
  opacity: 0.22;
}

.single-hero__inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.single .single-article{
  padding-top: 0.75rem;
}

.single .article-body{
  padding-top: 1.25rem;
}

.single .site-main{
  padding-top: 0.75rem;
}

.single-hero__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: stretch;
  padding: 0;
}

.single-hero__media-col,
.single-hero__content-col{
  min-width: 0;
}

.single-hero__media-col{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-hero__content-col{
  display: flex;
  align-items: stretch;
  padding-left: 24px;
  position: relative;
}

.single-hero__content-col::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2274A5 0%, #F36B2B 100%);
  transform: translateX(-16px);
  box-shadow: 0 0 8px rgba(34, 116, 165, 0.25), 0 0 10px rgba(243, 107, 43, 0.2);
}

.single-hero__content{
  max-width: 600px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.single-hero__media-frame{
  position: relative;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(90deg, #2274A5 0%, #F36B2B 100%);
  border: 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateX(-40px);
  transition: transform 0.8s ease-out 0.2s, opacity 0.8s ease-out 0.2s;
}

.single-hero.is-loaded .single-hero__media-frame{
  opacity: 1;
  transform: translateX(0);
}

.single-hero__media{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1220;
  aspect-ratio: 16 / 9;
  cursor: default;
}

.single-hero__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.single-hero__placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background: linear-gradient(140deg, #2274A5, #14334a);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-hero__meta-bar{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
  opacity: 0;
  transform: translateY(20px);
}

.single-hero.is-loaded .single-hero__meta-bar{
  animation: hero-fade-up 0.6s ease-out 0.4s forwards;
}

.single-hero__meta-badge{
  display: inline-flex;
  align-items: center;
  background: rgba(243, 107, 43, 0.14);
  color: #F36B2B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.single-hero__meta-badge:hover{
  background: rgba(243, 107, 43, 0.22);
  color: #d9581d;
  transform: translateY(-1px);
}

.single-hero__meta-badge:focus-visible{
  outline: 2px solid rgba(243, 107, 43, 0.35);
  outline-offset: 2px;
}

.single-hero__meta-sep{
  width: 2px;
  height: 14px;
  background: #F36B2B;
}

.single-hero__meta-date{
  font-size: 13px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.55);
}

.single-hero__title{
  font-size: 38px;
  font-weight: 800;
  color: #111111;
  line-height: 1.15;
  margin: 0 0 16px;
  opacity: 0;
  transform: translateY(20px);
  text-decoration: none;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.single-hero.is-loaded .single-hero__title{
  animation: hero-fade-up 0.7s ease-out 0.6s forwards;
}

.single-hero__title,
.single-hero__title *{
  text-decoration: none;
}

.single-hero__excerpt{
  font-size: 18px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.72);
  margin: 0 0 12px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
}

.single-hero.is-loaded .single-hero__excerpt{
  animation: hero-fade-up 0.7s ease-out 0.8s forwards;
}

.single-hero__meta-line{
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.6);
  line-height: 1.2;
  margin-top: auto;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
}

.single-hero.is-loaded .single-hero__meta-line{
  animation: hero-fade-up 0.6s ease-out 1s forwards;
}

.single-hero__meta-author{
  font-weight: 600;
  color: rgba(17, 17, 17, 0.85);
}

.single-hero__meta-item{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.single-hero__meta-link{
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.single-hero__meta-link:hover{
  color: #2274A5;
}

.single-hero__meta-dash{
  color: rgba(17, 17, 17, 0.4);
}

.single-hero__meta-dot{
  color: rgba(17, 17, 17, 0.35);
}

.single-hero__media-share{
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
}

.single-hero__share{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.single-hero__share-btn{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #2274A5;
  transition: color 0.2s ease;
  opacity: 0;
  transform: translateY(20px);
}

.single-hero__share-btn .et-icon{
  width: 14px;
  height: 14px;
}

.single-hero__share-icon{
  width: 14px;
  height: 14px;
}

.single-hero.is-loaded .single-hero__share-btn{
  animation: hero-fade-up 0.5s ease-out var(--hero-delay, 1.2s) forwards;
}

.single-hero__share-btn:nth-child(1){ --hero-delay: 1.2s; }
.single-hero__share-btn:nth-child(2){ --hero-delay: 1.3s; }
.single-hero__share-btn:nth-child(3){ --hero-delay: 1.4s; }
.single-hero__share-btn:nth-child(4){ --hero-delay: 1.5s; }

.single-hero__share-btn:hover{
  color: #F36B2B;
}

.single-hero__share-btn:focus-visible{
  outline: 2px solid #F36B2B;
  outline-offset: 3px;
}

@keyframes hero-fade-up{
  0%{ opacity: 0; transform: translateY(20px); }
  100%{ opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199px){
  .single-hero__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding: 0;
  }

  .single-hero__title{
    font-size: 34px;
  }

  .single-hero__excerpt{
    font-size: 17px;
  }
}

@media (max-width: 767px){
  .single-hero.split-hero{
    padding: 12px 0;
  }

  .single-hero__inner{
    padding: 0 16px;
  }

  .single-hero__grid{
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }

  .single-hero__title{
    font-size: 28px;
  }

  .single-hero__excerpt{
    font-size: 16px;
  }

  .single-hero__share{
    justify-content: flex-start;
  }

  .single-hero__share-btn{
    width: 22px;
    height: 22px;
  }

  .single-hero__meta-bar{
    flex-wrap: wrap;
  }

  .single-hero__meta-line{
    flex-wrap: wrap;
    row-gap: 6px;
    white-space: normal;
  }

  .single-hero__content-col{
    padding-left: 0;
    border-left: 0;
  }

  .single-hero__content-col::before{
    display: none;
  }

  .single-hero__media-share{
    left: 10px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce){
  .single-hero *{
    animation: none !important;
    transition: none !important;
  }

  .single-hero__media-frame,
  .single-hero__meta-bar,
  .single-hero__title,
  .single-hero__excerpt,
  .single-hero__meta-line,
  .single-hero__share-btn{
    opacity: 1 !important;
    transform: none !important;
  }
}
