:root{
  --edge-pad: 1rem;
}

:root{
  --page-max: 1400px;
  --footer-gutter: clamp(16px, 6vw, 48px);
}

.site-footer .footer-left,
.site-footer .footer-right,
.site-footer .footer-left:link,
.site-footer .footer-left:visited,
.site-footer .footer-right:link,
.site-footer .footer-right:visited {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-left:hover,
.site-footer .footer-right:hover {
  text-decoration: none;
}

.telegram-text {
  color: inherit;
  text-decoration: none;
  line-height: 1;
}


.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #282828;
  gap: 1rem;
  height: 72px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-left{
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: 5px 9px;
  border-radius: 999px;
  line-height: 1;
  background: transparent;
  transition:
    box-shadow 300ms ease,
    background-color 300ms ease,
    border-radius 300ms ease,
    padding 300ms ease;
}

.telegram-text{ 
  margin:0; 
  line-height:1; 
  font-size:16px; 
}

.telegram-logo-img{ 
  height: 29px; 
  width:auto; 
  display:block; 
}

.about-text{
  font-size:16px; 
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: 10px 11px;
  border-radius: 999px;
  line-height: 1;
  background: transparent;
  white-space: nowrap;
  transition:
    box-shadow 300ms ease,
    background-color 300ms ease,
    border-radius 300ms ease,
    padding 300ms ease;
}

.about-text:hover{
  box-shadow:
    0 4px 8px rgba(0,0,0,.08),
    0 10px 25px rgba(0,0,0,.12);
}

.footer-left:hover{
  box-shadow:
    0 4px 8px rgba(0,0,0,.08),
    0 10px 25px rgba(0,0,0,.12);
}

@media (max-width: 500px) {
  .footer-left:hover{
    box-shadow: none;
  }
}

.rights{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 2px;
}

.copy-year {
  white-space: nowrap;
  font-size: 14px;
  flex-shrink: 0; 
  flex: 0 0 auto;      
}

.author{
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author{ min-width:0; overflow:hidden; text-overflow:ellipsis; }


.site-footer {
  margin-top: auto;
  width: 100%;
  box-shadow: none;

  position: relative;
  background: transparent;
  isolation: isolate;
}

.site-footer .footer{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;

  
  max-width: var(--page-max, 1400px);
  width: 100%;


  gap: .5rem;
}

.footer-left,
.footer-right { flex: 0 0 auto; }

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  -webkit-backdrop-filter: blur(8px) saturate(1.08) contrast(1.02);
          backdrop-filter: blur(8px) saturate(1.08) contrast(1.02);

  background: rgba(255,255,255,.25);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 -12px 24px -12px rgba(0,0,0,.15);
}


.site-footer .footer .rights{
  position: static;
  transform: none;
  z-index: auto;
  pointer-events: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 500px){
  .author{ display: none; }
  .footer { padding-inline: 0.7rem; }
}

.footer-left  { grid-column: 1; justify-self: start; }
.rights       { grid-column: 2; justify-self: center; min-width: 0; }
.footer-right { grid-column: 3; justify-self: end; }


a, button {
  -webkit-tap-highlight-color: transparent;
}

a, button {
  outline: none;
}

a:focus,
button:focus {
  outline: none;
}

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