body, body * {
  font-family: 'bpg_mrgvlovani_caps', sans-serif;
}

body {
  background-color: var(--bg);
  position: relative;
}


body.dark-mode {
  background: rgba(0, 0, 0, 0.85);
  color: var(--white);
}




/* --- Sticky footer (always at bottom when content is short) --- */
html, body{
  height: 100%;
}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* WordPress theme wrapper */
#page.site{
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content grows and pushes footer down */
#content,
.site-content{
  flex: 1 0 auto;
}

/* Footer sits at the bottom */
.site-footer{
  margin-top: auto;
}


html, body{
  overflow-x: clip;   /* საუკეთესო ვარიანტი */
}

@supports not (overflow-x: clip){
  html, body{ overflow-x: hidden; } /* fallback ძველ ბრაუზერებზე */
}


.inner-content { margin-top: 40px; padding: 0 60px;}

@media only screen and (max-width: 768px) {
  .inner-content { padding: 0 20px; }
}



/* Ad-Site SEO Section Styles */
.ad-site-content {
    background-color: var(--dark, #191b20);
    color: var(--light-gray, #bbb);
    padding: 40px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.8;
    border: 1px solid var(--gray, #555454);
    box-shadow: 0 10px 25px var(--black, #000);
}

/* მთავარი სათაური */
.ad-site-content h1 {
    color: var(--white, #ffffff) !important;
    font-size: 26px !important;
    margin-bottom: 20px !important;
    border-left: 5px solid var(--adjaranet-color, #0083CA);
    padding-left: 15px !important;
    text-align: left;
}

/* ქვესათაურები */
.ad-site-content h3 {
    color: var(--adjaranet-color-light, #1a90cf) !important;
    font-size: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

/* პარაგრაფები - ფერი შეცვლილია უკეთესი კითხვადობისთვის */
.ad-site-content p {
    margin-bottom: 18px !important;
    font-size: 15px !important;
    color: #a6a6a6 !important;
}

/* გამოკვეთილი ტექსტი */
.ad-site-content strong {
    color: var(--white-light, #fdfdfd);
    font-weight: bold;
}

/* ბლოკების სია (Grid) */
.ad-site-content ul {
    list-style: none !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0 !important;
}

.ad-site-content ul li {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px !important;
    border-radius: 10px;
    border: 1px solid var(--gray, #555454);
    transition: all 0.3s ease;
    margin: 0 !important;
}

.ad-site-content ul li:hover {
    border-color: var(--adjaranet-color, #0083CA);
    background: rgba(0, 131, 202, 0.05);
    transform: translateY(-3px);
}

.ad-site-content ul li strong {
    display: block;
    margin-bottom: 5px;
    color: var(--adjaranet-color-light, #1a90cf);
}

/* რესპონსივი მობილურისთვის */
@media (max-width: 768px) {
    .ad-site-content {
        padding: 25px;
        margin: 15px;
    }
    .ad-site-content h1 {
        font-size: 20px !important;
    }
}

