
/* Astra-ს სტანდარტული პაგინაციის დამალვა */
.ast-pagination {
    display: none !important;
}

/* PageNavi-ს გამოჩენა (ყოველ შემთხვევისთვის) */
.wp-pagenavi {
    display: block !important;
}
/* PageNavi-ს ცენტრში გატანა */
.wp-pagenavi {
    text-align: center !important;
    width: 100% !important;
    margin: 20px auto !important;
    display: flex;
    justify-content: center;
    gap: 5px; /* ღილაკებს შორის დაშორება */
}
/* 1. სურათების კუთხეების მომრგვალება (Modern Look) */
.post-thumb img {
    border-radius: 12px !important;
    object-fit: cover;
}

/* 2. სტატიებს შორის წვრილი ხაზი (Divider) */
.blog .ast-article-post, .archive .ast-article-post {
    border-bottom: 1px solid #eaeaea; /* ძალიან ღია ნაცრისფერი ხაზი */
    padding-bottom: 25px;
    margin-bottom: 25px;
}

/* 3. სათაურის გამუქება და ზომის გასწორება */
.entry-title a {
    font-weight: 700 !important; /* უფრო თამამი */
    color: #111 !important; /* ღრმა შავი */
    text-decoration: none;
}

/* 4. მოკლე აღწერის (Excerpt) ფერის შერბილება */
.entry-content p {
    color: #555 !important; /* მუქი ნაცრისფერი */
    font-size: 15px;
}
/* კატეგორიის დიზაინი (პატარა ლურჯი ღილაკი სათაურის თავზე) */
.ast-blog-layout-1 .ast-article-post .ast-blog-meta {
    margin-bottom: 10px;
}

.ast-blog-layout-1 .category-style {
    background-color: #f0f5ff; /* ძალიან ღია ლურჯი ფონი */
    color: #0056b3; /* მუქი ლურჯი ტექსტი */
    padding: 4px 10px;
    border-radius: 20px; /* მომრგვალებული კუთხეები */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}
/* სათაურის გაზრდა და დაშორება */
.entry-title {
    margin-bottom: 12px;
    line-height: 1.3;
}

.entry-title a {
    font-size: 22px; /* სათაურის ზომა */
    font-weight: 800 !important; /* ძალიან მსხვილი შრიფტი */
    color: #0a0a0a !important; /* ღრმა შავი */
}

/* მოკლე ტექსტის (Excerpt) ფერი და ზომა */
.entry-content p {
    color: #4a5568; /* რბილი ნაცრისფერი */
    font-size: 16px; /* ოდნავ დიდი ტექსტი */
    line-height: 1.6; /* სტრიქონებს შორის ადგილი */
    margin-bottom: 15px; /* დაშორება ღილაკამდე */
}
/* ღილაკის სტილი */
.ast-blog-layout-1 .read-more a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #000;
    border-bottom: 2px solid #000; /* ხაზი ქვემოთ */
    padding-bottom: 2px;
    text-decoration: none;
}
/* პოსტის სათაურის დიზაინი (შიგნით) */
.ast-single-post .entry-title {
    font-size: 32px !important; /* ზომის კორექცია (თუ ძალიან დიდია, შეამცირე 28px-ზე) */
    font-weight: 800; /* სქელი და მკვეთრი */
    color: #111; /* ღრმა შავი */
    line-height: 1.2; /* სტრიქონების შეკვრა */
    margin-bottom: 15px; /* დაშორება მეტა მონაცემებამდე */
    margin-top: 10px;
    text-align: center; /* ყოველი შემთხვევისთვის, ცენტრში */
}

/* მეტა მონაცემების (თარიღი, კატეგორია) გასწორება */
.ast-single-post .entry-meta {
    text-align: center;
    margin-bottom: 30px; /* დიდი დაშორება სურათამდე */
    color: #666;
    font-size: 14px;
}
/* Rundown AI სტილის სექცია */
.rundown-section {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.rundown-content {
    max-width: 600px;
    margin: 0 auto;
}

.rundown-search-field {
    width: 100%;
    padding: 15px 20px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
}

.rundown-social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.rundown-social-icons a {
    text-decoration: none;
    color: #475569;
    background: #f1f5f9;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}
.rundown-social-icons svg {
    width: 18px;   /* ხატულას ზომა */
    height: 18px;
    fill: #475569; /* ხატულას ფერი (მუქი ნაცრისფერი) */
    transition: fill 0.3s ease;
}

.rundown-social-icons a:hover svg {
    fill: #000000; /* მიტანისას გაშავდეს */
}

.rundown-social-icons a {
    width: 40px;  /* წრის ზომა */
    height: 40px;
}
/* FAQ სტილები HTML5-ისთვის */
.faq-details {
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    overflow: hidden;
}

.faq-details summary {
    background-color: #ffffff;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    list-style: none; /* ისრის დამალვა დეფოლტად */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* პატარა ისრის დამატება */
.faq-details summary::after {
    content: '+'; 
    font-size: 1.5em;
    color: #bdc3c7;
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* როცა გახსნილია */
.faq-details[open] summary {
    background-color: #eaf6ff;
    color: #2980b9;
    border-bottom: 1px solid #eee;
}

.faq-details[open] summary::after {
    transform: rotate(45deg);
    color: #2980b9;
}

.faq-answer-inner {
    padding: 20px 25px;
    line-height: 1.7;
    color: #555;
    background-color: #fcfcfc;
}

/* სათაურის სტილი */
.faq-header {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #2c3e50;
}

.faq-cat-title {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: bold;
    border-left: 5px solid #3498db;
    padding-left: 15px;
    background: #f4f6f7;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    color: #2c3e50;
}
/* --- LLM.GE Universal AI Header (Post Fix) --- */

/* 1. სლოგანის იძულებითი ჩვენება პოსტებში */
header .ast-site-tagline {
    display: inline-block !important; /* Astra ხშირად მალავს ამას პოსტებში */
    visibility: visible !important;
    opacity: 1 !important;
    font-family: 'Courier New', monospace !important;
}

/* 2. სლოგანის კურსორი (ბეჭდვის ეფექტი) */
header .ast-site-tagline::after {
    content: "|" !important;
    margin-left: 5px;
    color: #3b82f6;
    font-weight: bold;
    animation: h_blink 1s step-end infinite !important;
}

@keyframes h_blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}



/* 4. მენიუს კუთხეები - ყველა გვერდზე */
header .main-header-bar-navigation a {
    position: relative !important;
    transition: all 0.3s ease !important;
}

header .main-header-bar-navigation a:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #3b82f6;
    border-left: 1px solid #3b82f6;
}

header .main-header-bar-navigation a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-bottom: 1px solid #ec4899;
    border-right: 1px solid #ec4899;
}

/* 5. ჰედერის ქვედა ხაზი */
header#masthead {
    border-bottom: 1px dashed #e2e8f0 !important;
}
/* --- LLM.GE Animated Moving Laser --- */

/* 1. ვასუფთავებთ სტანდარტულ ჩარჩოებს */
.site-header, 
.main-header-bar, 
.ast-mobile-header-wrap .main-header-bar {
    border-bottom: none !important;
    position: relative !important;
}

/* 2. ვქმნით მოძრავ ლაზერულ ხაზს */
.site-header::after, 
.ast-mobile-header-wrap .main-header-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px; /* ხაზის სისქე */
    
    /* გრადიენტი - შეგიძლიათ ფერები შეცვალოთ */
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3b82f6 25%, 
        #ec4899 50%, 
        #3b82f6 75%, 
        transparent 100%);
    
    background-size: 200% 100%;
    animation: moveLaser 4s linear infinite !important;
    z-index: 100;
}
/* --- LLM.GE Final Single Laser Fix --- */

/* 1. ვაუქმებთ ყველა წინა ბორდერს */
header#masthead, 
.site-header, 
.main-header-bar, 
.ast-main-header-wrap {
    border-bottom: none !important;
    position: relative !important;
    overflow: visible !important; /* ეს აუცილებელია პოსტებში გამოსაჩენად */
}

/* 2. ვხატავთ მხოლოდ ერთ ხაზს მთლიან ჰედერთან მიმართებაში */
header#masthead::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important; /* ჰედერის ყველაზე დაბალი წერტილი */
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3b82f6 25%, 
        #ec4899 50%, 
        #3b82f6 75%, 
        transparent 100%) !important;
    background-size: 200% 100% !important;
    animation: moveLaser 3s linear infinite !important;
    z-index: 99999 !important;
}

/* 3. ანიმაცია */
@keyframes moveLaser {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 4. თუ პოსტებში ჰედერი "ჩაჭრილია", ამით გამოვაჩენთ */
.ast-separate-container .site-header {
    overflow: visible !important;
}
/* --- Futuristic Search Input --- */
input[type="search"], .search-field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    color: #1e293b !important;
    transition: all 0.3s ease !important;
}

input[type="search"]:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
    outline: none;
    background: #ffffff !important;
}
/* 1. ძველი ფუტერის სრული დამალვა */
.site-below-footer-wrap, .ast-small-footer, footer#colophon {
    display: none !important;
}

/* 2. ტერმინალის სტილი */
.llm-footer-terminal {
    background: #0f172a !important; /* მუქი ფონი */
    color: #e2e8f0 !important;
    font-family: 'Courier New', monospace !important;
    padding: 25px 40px;
    border-top: 1px solid #1e293b;
    margin-top: 0;
}

.term-header {
    margin-bottom: 12px;
    opacity: 0.6;
}

.term-body p {
    margin: 0 !important;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.term-prompt {
    color: #3b82f6; /* ლურჯი ისარი */
    margin-right: 10px;
    font-weight: bold;
}

/* წერტილების სტილი */
.dot { height: 8px; width: 8px; display: inline-block; border-radius: 50%; margin-right: 5px; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

/* კურსორის ანიმაცია */
.term-cursor {
    display: inline-block;
    color: #3b82f6;
    animation: termBlink 1s infinite;
    margin-left: 5px;
}
@keyframes termBlink { 50% { opacity: 0; } }
/* მობილურზე ჩათის ზომის შეზღუდვა */
@media only screen and (max-width: 600px) {
  #mwai-chat-window {
    width: 85% !important;       /* ეკრანის მხოლოდ 85%-ს დაიკავებს */
    height: 60vh !important;     /* სიმაღლეში ეკრანის 60% იქნება */
    max-width: 350px !important; /* რომ არ გაიწელოს */
    bottom: 80px !important;     /* ქვემოდან დაშორება */
    right: 20px !important;      /* მარჯვნიდან დაშორება */
    left: auto !important;
    top: auto !important;
    border-radius: 15px !important; /* მომრგვალებული კუთხეები */
    box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
  }
}
/* "ვერ მოიძებნა" ტექსტის გალამაზება */
.no-results .page-content {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9; /* ღია ნაცრისფერი ფონი */
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

/* ტექსტის ფერი და ზომა */
.no-results .page-content p {
    font-size: 18px;
    color: #333;
}

/* სათაურის ("ძიების შედეგები") ცენტრში გატანა */
.search-results .ast-archive-description {
    text-align: center;
}

/* ძიების ველის გალამაზება ცენტრში */
.no-results .search-form {
    max-width: 400px;
    margin: 20px auto 0; /* ცენტრში გასწორება */
}
/* 1. კლავს Astra-ს სტანდარტულ სექციურ დაშორებას */
.category .site-content .ast-container {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 0 !important; /* მენიუდან დაშორების განულება */
}

/* 2. აქრობს იმ თეთრ ყუთს ("Box") სათაურის გარშემო */
.category .ast-archive-description {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 10px 0 20px 15px !important; /* ცოტა ჰაერი მარცხნიდან, რომ პოსტებს გაუსწორდეს */
    max-width: 100% !important;
    text-align: left !important;
}

/* 3. სათაურის ტექსტი - პატარა და სუფთა */
.category .ast-archive-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

/* 4. პოსტების ბლოკის ატანა ზემოთ */
.category #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 5. მობილურისთვის კიდევ უფრო კომპაქტური */
@media (max-width: 768px) {
    .category .site-content .ast-container {
        padding-top: 5px !important;
    }
    .category .ast-archive-description {
        margin: 10px 15px !important;
    }
}
/* 1. სტატიის შიდა გვერდზე ზედა დაშორების განულება */
.single-post .site-content {
    padding-top: 10px !important; /* მენიუდან დაშორება */
}

/* 2. სათაურის ბლოკის (Entry Header) Padding-ის შემცირება */
.single-post .entry-header {
    margin-bottom: 15px !important; /* დაშორება სათაურსა და ქავერს შორის */
    padding-top: 0 !important;
}

/* 3. სათაურის ზომის და დაშორების გასწორება */
.single-post .entry-title {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 28px !important; /* შეგიძლია შეცვალო სურვილისამებრ */
    line-height: 1.3 !important;
}

/* 4. თუ იყენებ "Separate Containers" - ამცირებს მანძილს კონტეინერებს შორის */
.single-post.ast-separate-container .ast-article-single {
    padding: 20px !important; /* შიდა დაშორება სტატიის გარშემო */
    margin-top: 0 !important;
}

/* 5. მობილურზე კიდევ უფრო მჭიდროდ რომ იყოს */
@media (max-width: 768px) {
    .single-post .site-content {
        padding-top: 5px !important;
    }
    .single-post .entry-title {
        font-size: 24px !important;
    }
    .single-post.ast-separate-container .ast-article-single {
        padding: 15px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}
/* 1. მთავარ გვერდზე მენიუსა და კონტენტს შორის დაშორების განულება */
.home .site-content {
    padding-top: 5px !important;
}

/* 2. სოციალური აიკონების/ძიების ბლოკის ქვედა დაშორების შემცირება */
.home .ast-archive-description {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

/* 3. ჩვენი ბანერების (PromptGen და სხვ.) ზედა და ქვედა დაშორებების მოკვლა */
.home .banner-container-fixed, 
.home .home-banner-wrapper, 
.home .ai-banner-wrapper,
.home .pe-native-box {
    margin-top: 0 !important;
    margin-bottom: 15px !important; /* მანძილი ბანერებს შორის */
}

/* 4. პოსტების სექციის ატანა მაქსიმალურად ზემოთ */
.home #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.home .site-main {
    margin-top: 0 !important;
}

/* 5. მობილურისთვის კიდევ უფრო მჭიდროდ (ბოლო სქრინისთვის) */
@media (max-width: 768px) {
    .home .site-content {
        padding-top: 0 !important;
    }
    .home .ast-archive-description {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    .home .banner-container-fixed {
        margin-bottom: 10px !important;
    }
}
/* 1. მთავარ გვერდზე მენიუსა და კონტენტს შორის დაშორების განულება */
.home .site-content {
    padding-top: 5px !important;
}

/* 2. სოციალური აიკონების/ძიების ბლოკის ქვედა დაშორების შემცირება */
.home .ast-archive-description {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

/* 3. ჩვენი ბანერების (PromptGen და სხვ.) ზედა და ქვედა დაშორებების მოკვლა */
.home .banner-container-fixed, 
.home .home-banner-wrapper, 
.home .ai-banner-wrapper,
.home .pe-native-box {
    margin-top: 0 !important;
    margin-bottom: 15px !important; /* მანძილი ბანერებს შორის */
}

/* 4. პოსტების სექციის ატანა მაქსიმალურად ზემოთ */
.home #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.home .site-main {
    margin-top: 0 !important;
}

/* 5. მობილურისთვის კიდევ უფრო მჭიდროდ (ბოლო სქრინისთვის) */
@media (max-width: 768px) {
    .home .site-content {
        padding-top: 0 !important;
    }
    .home .ast-archive-description {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    .home .banner-container-fixed {
        margin-bottom: 10px !important;
    }
}
/* 1. ბლოგის პოსტების სათაურების შემცირება მთავარზე */
.home .entry-title, 
.home .entry-title a {
    font-size: 18px !important; /* სტანდარტულად 22-24px-ია ხოლმე */
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* 2. პოსტის მოკლე აღწერის (Excerpt) ფონტის შემცირება */
.home .ast-excerpt-container p, 
.home .entry-content p {
    font-size: 14px !important;
    color: #64748b !important; /* ოდნავ უფრო ღია ფერი, რომ სათაური გამოიკვეთოს */
    line-height: 1.5 !important;
}

/* 3. მეტა ინფორმაციის (თარიღი, კატეგორია) დაპატარავება */
.home .entry-meta, 
.home .entry-meta * {
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* 4. პოსტის ბარათებს შორის მანძილის შემცირება (ლეპტოპზე) */
@media (min-width: 922px) {
    .home .ast-row article {
        margin-bottom: 20px !important;
    }
}
/* 1. პოსტის შიდა კონტეინერის ზედა დაშორების გაუქმება */
.single-post .entry-content {
    margin-top: 0 !important;
}

/* 2. პირველივე ელემენტის (ბანერის) ზედა დაშორების მოკვლა */
.single-post .entry-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. ბანერის კონტეინერის ზომების გასწორება */
.llm-filter-container, 
#llm-filter-source {
    margin-top: 0 !important;
    margin-bottom: 5px !important; /* დაშორება ბანერსა და სათაურს შორის */
}

/* 4. სათაურის (H1) ზემოთ სიცარიელის მინიმიზაცია */
.single-post .entry-title {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

/* 5. თუ ბანერი აშტრას "Header"-ის ნაწილი გგონია, ესეც დაამატე */
.ast-single-post .entry-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* 1. მთავარი კონტეინერის ზედა დაშორების განულება */
.single-post #content .ast-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 2. პოსტის სათაურის ბლოკის (Header) დაშორების მინიმიზაცია */
.single-post .entry-header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* 3. ბანერის (Filter Container) "ამოწევა" ზემოთ ნეგატიური Margin-ით */
.llm-filter-container {
    margin-top: -30px !important; /* ეს აწევს ბანერს ჰედერისკენ */
    margin-bottom: 10px !important;
}

/* 4. კონტენტის შიდა სივრცის განულება */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 5. სათაურის (H1) ზომისა და დაშორების კორექტირება */
.single-post .entry-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.2 !important;
}
/* ტექსტის მონიშვნის (Selection) ფერის შეცვლა მთელ საიტზე */
::selection {
    background-color: #0A1F44; !important; /* ნეონისფერი მწვანე ფონი */
    color: #ffffff; !important; /* შავი ტექსტი */
}

::-moz-selection {
    background-color: #0A1F44 !important;
    color: #ffffff !important;
}
/* 1. სტატიის კონტეინერის ქვედა დაშორების განულება */
article.llm-modern-post {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 2. ჰედერის (სურათის) ქვედა დაშორების მინიმუმამდე დაყვანა */
header.entry-header.ast-no-meta {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

/* 3. ტექსტის ბლოკის ზედა დაშორების იძულებითი გაქრობა */
div.entry-content.llm-modern-post {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 4. პირველი აბზაცის 'Gutenberg' მარგინის მოკვლა */
.llm-modern-post > p:first-child {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}
/* single post featured image ქვედა დაშორების გაუქმება */
.single-post .wp-block-post-featured-image,
.single-post .post-thumbnail,
.single-post .featured-image,
.single-post .wp-post-image {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0 !important;
}

/* image block / figure default margin-ის გაუქმება */
.single-post .wp-block-image,
.single-post .wp-block-image figure,
.single-post figure {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* თავად სურათს inline-gap რომ არ ჰქონდეს */
.single-post .wp-block-post-featured-image img,
.single-post .wp-block-image img,
.single-post .post-thumbnail img,
.single-post .wp-post-image {
    display: block !important;
    margin-bottom: 0 !important;
}

/* სურათის შემდეგ პირველ ტექსტურ ელემენტს ზედა margin მოვუხსნათ */
.single-post .entry-content > p:first-child,
.single-post .entry-content > h2:first-child,
.single-post .entry-content > h3:first-child,
.single-post .wp-block-post-content > p:first-child,
.single-post .wp-block-post-content > h2:first-child,
.single-post .wp-block-post-content > h3:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* თუ Gutenberg block-gap ამატებს დაშორებას */
.single-post .entry-content,
.single-post .wp-block-post-content {
    row-gap: 0 !important;
    gap: 0 !important;
}
/* ძიების გვერდის ვიზუალის დასუფთავება და დაპატარავება */
.search-results .ast-archive-description {
    padding: 30px 20px !important;
    text-align: center;
    border-bottom: 1px solid #eaeaea; 
    margin-bottom: 30px;
}

/* მთავარი სათაურის ზომის შემცირება */
.search-results .page-title,
.search-results .ast-archive-title {
    font-size: 24px !important; 
    font-weight: 700;
    text-transform: uppercase;
}

/* ზედმეტი ინგლისური ტექსტის ("Search results for...") დამალვა */
.search-results .ast-archive-description p {
    display: none !important;
}

/* "მთავარი >>" ნაწილის დახვეწა */
.search-results .ast-breadcrumbs {
    font-size: 14px;
    margin-bottom: 15px !important;
    opacity: 0.7;
}
html {
  scroll-behavior: smooth;
}

h2[id] {
  scroll-margin-top: 120px;
}

.custom-toc-box {
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  padding: 20px;
  margin: 30px 0;
}

.custom-toc-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.custom-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-toc-list li {
  margin-bottom: 10px;
}

.custom-toc-list a {
  text-decoration: none;
  font-weight: 600;
  color: #2563eb;
}

.custom-toc-list a:hover {
  text-decoration: underline;
}
.llm-ge-wrap{ margin-top:0 !important; gap:20px !important; }
.llm-sponsors-wrapper{ padding-bottom:20px !important; }
.llm-ge-about{ margin-top:0 !important; }
}
header#masthead::after,
.site-header::after,
.ast-mobile-header-wrap .main-header-bar::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        #087b65 25%,
        #52bea0 50%,
        #087b65 75%,
        transparent 100%
    ) !important;
    background-size: 200% 100% !important;
}
/* =====================================================================
   LLM.GE design fixes (prototype) — paste into Appearance > Customize >
   Additional CSS, AFTER existing CSS, wrapped in the markers below.
   Rollback: delete everything between the BEGIN/END markers.
   ===================================================================== */
/* BEGIN llmge-design-fixes v1 */

/* ---- 7) Headings: one sans family, no uppercase (Georgian uppercase = Mtavruli) ---- */
:root{ --llmfx-sans:'Noto Sans','Noto Sans Georgian','Segoe UI','Sylfaen',system-ui,sans-serif; }
body, button, input, textarea, select{ font-family:var(--llmfx-sans); }
h1,h2,h3,h4,h5,h6,
.entry-title,.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,
.llm-share-title,.ai-404-title{
  font-family:var(--llmfx-sans) !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
.single .entry-title,.page .entry-title{ font-size:clamp(26px,3.2vw,38px) !important; line-height:1.25 !important; font-weight:700 !important; margin-bottom:.6em !important; }
.entry-content h2{ font-size:clamp(21px,2.2vw,27px) !important; line-height:1.35 !important; font-weight:700 !important; margin-top:1.6em !important; }
.entry-content h3{ font-size:clamp(18px,1.8vw,22px) !important; line-height:1.4 !important; font-weight:700 !important; }
.entry-content h4{ font-size:18px !important; font-weight:700 !important; }

/* ---- 1) Mobile menu toggle: brand colour, clear tap target, panel styling ---- */
#ast-mobile-header .menu-toggle{ color:#15293F !important; border-radius:10px; }
#ast-mobile-header .menu-toggle:hover,#ast-mobile-header .menu-toggle:focus-visible{ background:rgba(46,158,120,.10) !important; color:#2E9E78 !important; }
#ast-mobile-header .menu-toggle svg{ width:26px; height:26px; }
#ast-mobile-header .ast-mobile-header-content{ background:#fff; box-shadow:0 12px 24px -12px rgba(21,41,63,.25); }
#ast-mobile-header .ast-mobile-header-content .menu-link{ color:#15293F !important; font-weight:600; }

/* ---- 2) Sticky header must not cover headings / anchor targets ---- */
html{ scroll-padding-top:110px; }
h1,h2,h3,[id^="toc-"]{ scroll-margin-top:110px; }
@media (max-width:921px){
  html{ scroll-padding-top:84px; }
  h1,h2,h3,[id^="toc-"]{ scroll-margin-top:84px; }
  /* slimmer bar once it is fixed on scroll */
  #masthead.llm-scrolled .ast-primary-header-bar,
  #masthead.llm-scrolled .site-primary-header-wrap{ padding-top:2px !important; padding-bottom:2px !important; }
  #masthead.llm-scrolled .custom-logo-link img{ max-height:28px !important; }
}

/* ---- 3) Homepage feed: wider column + image cards (needs PHP thumb markup, see php/) ---- */
@media (min-width:1100px){ .home main.llmdigg{ max-width:1040px !important; } }
.llmdigg-item.has-thumb{ display:grid !important; grid-template-columns:220px 1fr; gap:20px; align-items:start; }
.llmdigg-item.has-thumb > .llmdigg-marker{ display:none; }
.llmdigg-thumb{ display:block; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#EDF0F3; }
.llmdigg-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.llmdigg-item.has-thumb:hover .llmdigg-thumb img{ transform:scale(1.04); }
.llmdigg-item.is-lead.has-thumb:first-of-type{ grid-template-columns:340px 1fr; }
@media (max-width:640px){
  .llmdigg-item.has-thumb{ grid-template-columns:1fr; gap:12px; }
}

/* ---- 4) Search results: centre and widen ---- */
body.search .ast-container > main#primary.llmsrch{ margin-left:auto !important; margin-right:auto !important; max-width:1040px !important; width:100%; }
body.search .llmsrch-head{ grid-template-columns:1fr minmax(260px,360px) !important; }
@media (max-width:768px){ body.search .llmsrch-head{ grid-template-columns:1fr !important; } }

/* ---- 6) /prompts/: article TOC leaking into prompt cards ---- */
.llmpr2-item .llm-toc-collapse,.llmpr2-desc .llm-toc-collapse{ display:none !important; }

/* ---- 8) Share box: Facebook button style (button added via PHP/JS, see php/) ---- */
.llm-share-btn.btn-fb:hover{ border-color:#1877F2; color:#1877F2 !important; box-shadow:0 4px 12px rgba(24,119,242,.18); }

/* ---- 9) 404: brand colours + search form ---- */
.ai-404-btn{ background-color:#15293F !important; box-shadow:0 10px 25px -8px rgba(21,41,63,.45) !important; }
.ai-404-btn:hover{ background-color:#2E9E78 !important; box-shadow:0 14px 28px -8px rgba(46,158,120,.45) !important; }
.ai-404-search{ display:flex; gap:8px; width:100%; max-width:460px; margin:0 auto 24px; }
.ai-404-search input[type=search]{ flex:1; padding:12px 16px; border:1px solid #d6dde4; border-radius:100px; font-size:16px; }
.ai-404-search button{ padding:12px 22px; border:0; border-radius:100px; background:#2E9E78; color:#fff; font-weight:700; cursor:pointer; }

/* END llmge-design-fixes v1 */
/* BEGIN llmge-thumbs-nocrop */
/* ---- 10) Thumbnails: never crop (show whole image) ---- */
.llmsrch-card > a.llmsrch-media,
.llmcatv2-card > a.llmcatv2-media{ aspect-ratio:16/9; height:auto !important; min-height:0 !important; align-self:center; background:#EDF0F3; overflow:hidden; }
.llmsrch-card > a.llmsrch-media img.llmsrch-image,
.llmcatv2-card > a.llmcatv2-media img.llmcatv2-image{ width:100% !important; height:100% !important; min-height:0 !important; object-fit:contain !important; object-position:center; }
.llmdigg-thumb img{ object-fit:contain !important; }
/* END llmge-thumbs-nocrop */
/* BEGIN llmge-first-card-mobile */
@media (max-width:768px){
  .llmdigg-item.is-lead.has-thumb:first-of-type{ grid-template-columns:1fr !important; }
}
/* END llmge-first-card-mobile */
/* BEGIN llmge-round3 */
/* 3) Mobile heading sizes (Georgian wraps long) */
@media (max-width:480px){
  .single .entry-title,.page .entry-title{ font-size:22px !important; line-height:1.3 !important; }
  .entry-content h2{ font-size:19px !important; line-height:1.35 !important; }
  .entry-content h3{ font-size:17px !important; line-height:1.4 !important; }
  .entry-content h4{ font-size:16px !important; }
  .llmcatv2-title,.llmsrch-title{ font-size:22px !important; }
}
/* 7) TOP 7 thumbnails (markup added by snippet "LLM.GE TOP7 thumbs"), never cropped */
.llmpop-row.has-thumb{ grid-template-columns:27px 64px minmax(0,1fr) auto !important; }
.llmpop-thumb{ width:64px; height:36px; object-fit:contain; background:#EDF0F3; border-radius:6px; align-self:center; display:block; }
/* 5) Reading time label (added by snippet "LLM.GE reading time") */
.llm-reading-time{ white-space:nowrap; }
/* END llmge-round3 */

/* BEGIN llmge-catseo-links */
/* კატეგორიის SEO ბლოკის ტექსტური ბმულები = სტატიის ბმულების ფერი */
.llmge-category-seo p a:not([class]),
.llm-openai-seo p a:not([class]){
    color:#0B4F8A !important;
    font-weight:600 !important;
    text-decoration:none !important;
}
.llmge-category-seo p a:not([class]):hover,
.llm-openai-seo p a:not([class]):hover{
    color:#1F7A5C !important;
    text-decoration:none !important;
}
/* END llmge-catseo-links */

/* BEGIN llmge-company-page */
/* "შემდეგი სტატია" მხოლოდ სტატიებში, გვერდებზე არა */
body:not(.single-post) nav.lv-n3{display:none !important}

/* კომპანიის გვერდის სათაურები */
.llmld h2{position:relative;font-size:22px !important;line-height:1.3 !important;font-weight:800 !important;color:#15293F !important;margin:38px 0 0 !important;padding:0 !important;text-transform:none !important}
.llmld h2::after{content:"";display:block;width:46px;height:3px;background:#2E9E78;border-radius:2px;margin:10px 0 16px}
.llmld h3{position:relative;font-size:17.5px !important;font-weight:700 !important;color:#15293F !important;margin:26px 0 8px !important;padding-left:14px !important;text-transform:none !important}
.llmld h3::before{content:"";position:absolute;left:0;top:5px;bottom:5px;width:3px;border-radius:2px;background:#2E9E78}
.llmld p{font-size:15.5px;line-height:1.75;color:#3C4753}

/* მთავარი ფაქტები ბარათებად */
.llmld ul.llmld-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:4px 0 6px !important;padding:0 !important;list-style:none !important;counter-reset:llmf}
.llmld ul.llmld-facts li{counter-increment:llmf;position:relative;margin:0 !important;padding:16px 18px 16px 54px !important;border:1px solid #DDE4EA;border-radius:14px;background:#fff;list-style:none !important;font-size:14.5px;line-height:1.5}
.llmld ul.llmld-facts li::before{content:counter(llmf,decimal-leading-zero);position:absolute;left:16px;top:15px;width:26px;height:26px;border-radius:50%;background:#EAF8F4;color:#168F75;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;font-family:"SFMono-Regular",Consolas,monospace}

/* ჩვეულებრივი სიები ბარათებად */
.llmld ul:not([class]){list-style:none !important;margin:14px 0 !important;padding:0 !important}
.llmld ul:not([class]) li{position:relative;margin:0 0 9px !important;padding:13px 17px 13px 40px !important;border:1px solid #EDF0F3;border-radius:12px;background:#FAFBFC;list-style:none !important;font-size:14.5px;line-height:1.6}
.llmld ul:not([class]) li::before{content:"";position:absolute;left:18px;top:21px;width:7px;height:7px;border-radius:50%;background:#2E9E78}

/* საერთო კომპონენტები ყველა კომპანიის გვერდისთვის */
.llmld-tl{list-style:none;margin:14px 0;padding:0;border-left:2px solid #EDF0F3}
.llmld-tl li{position:relative;margin:0;padding:0 0 15px 20px;list-style:none;font-size:14.5px;line-height:1.55}
.llmld-tl li:last-child{padding-bottom:0}
.llmld-tl li::before{content:"";position:absolute;left:-6px;top:8px;width:10px;height:10px;border-radius:50%;background:#2E9E78}
.llmld-tl b{display:block;font-size:12.5px;color:#2E9E78;font-family:"SFMono-Regular",Consolas,monospace;margin-bottom:2px}
.llmld-faq details{border:1px solid #DDE4EA;border-radius:12px;padding:12px 16px;margin:0 0 9px}
.llmld-faq summary{cursor:pointer;font-weight:700;color:#15293F;font-size:15px;list-style:none}
.llmld-faq summary::-webkit-details-marker{display:none}
.llmld-faq summary::after{content:"+";float:right;color:#2E9E78;font-weight:800;margin-left:10px}
.llmld-faq details[open] summary::after{content:"−"}
.llmld-faq p{margin:9px 0 0;font-size:14.5px;color:#5A6572;line-height:1.6}
.llmld-note{background:#F3F8F6;border-left:3px solid #2E9E78;border-radius:0 10px 10px 0;padding:12px 16px;margin:14px 0;font-size:14px;color:#5A6572}
/* END llmge-company-page */
