footer {
    line-height: 1.2;
    color: #c0baaf;
    text-indent: 0;
    padding: 0 0.5rem;
    background-color: var(--contentBg);
    display: flex;
    flex-direction: column;
    justify-content: center; /* центрирование по горизонтали */
}

/* ================ L I N K S ================== */
.link-card-container {
  margin: 0 auto 1rem auto;
}

.link-card {
    display: flex;
    line-height: 1.2;
    flex-direction: row;
    align-items: center;
    text-indent: 0;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0;
    /* border-left: solid 3px; */
    /* border-image: linear-gradient(rgba(0, 0, 0, 0), #cdba9a, rgba(0, 0, 0, 0)) 1 100%; */
}

.link-card p {
    padding: 0 1rem 0 0.5rem;
    margin: 0;
    text-indent: 0;
    color: var(--textGold);
}

.link-card-container a {
    text-decoration: none;
}

.link-icon {
    width: 2.1rem;
    margin-left: 0.8rem;
    padding: 0;
}

/* ================ other ================== */
.autograph-img {
    display: block;
    width: 9rem;
    margin: 0.8rem auto 0 auto;
    padding: 0;
    text-align: center;
}

#mg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
#mg p:first-child {
    margin: 0.7rem 0 0 0;
    padding: 0;
    font-size: 0.9rem;
    font-family: 'OswaldRegular', 'Roboto Condensed', 'Source Sans Pro Condensed', 'Open Sans Condensed', sans-serif;
    color: #c5b298;
}
#mg p:last-child {
    margin: 0.7rem 0 0 0;
    padding: 0;
    font-size: 1rem;
    color: #c5b298;
}
.footer-pravila-div {
    display: flex;
    flex-direction: row;
    justify-content: center; /* центрирование по горизонтали */
    align-items: center;
    gap: 1rem;

    margin: 1rem auto;
}
.footer-pravila-div span { 
    padding: 0;
    font-size: 1.4rem;
    color: var(--textFooter);
    font-family: 'OswaldRegular', 'Roboto Condensed', 'Source Sans Pro Condensed', 'Open Sans Condensed', sans-serif;
    border: solid 2px var(--textGold);
    border-width: thin;
    color: var(--textGold);
    border-radius: 2rem;
    padding: 0.75rem;
}

.footer-pravila-a {
    text-decoration: none;

    font-family: 'OswaldRegular', 'Roboto Condensed', 'Source Sans Pro Condensed', 'Open Sans Condensed', sans-serif;
    
    color: var(--textFooter);
    
    border: solid 2px var(--textGold);
    border-width: thin;
    color: var(--textGold);
    border-radius: 8px;
    padding: 0.2rem 1rem 0.5rem 1rem;
}

.footer-pravila-h2 {
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    text-align: center;
    color: var(--textFooter);
}

.footer small {
    font-family: 'OswaldRegular', 'Roboto Condensed', 'Source Sans Pro Condensed', 'Open Sans Condensed', sans-serif;
    font-size: 0.9rem;
    line-height: 1;
}


/* -------------------======== [                       ]========--------------------- */
/* -------------------======== [ FOR LANDSCAPE SCREENS ]========--------------------- */
/* -------------------======== [                       ]========--------------------- */
/* @media screen and (orientation:landscape){ */
@media only screen and (min-aspect-ratio: 4/3) {
  .footer {
      padding: 1.5rem 2rem;
  }   
}