/*
Theme Name:      Foxiz child
Template:        foxiz
Theme URI:       https://foxiz.themeruby.com
Author:          Theme-Ruby
Description:     GRLAND Optimized Child Theme
Version:         1.2 (Performance Optimized)
License:         Themeforest Licence
/* =========================================================
   LAYOUT & ARTICLE STYLING
   ========================================================= */

/* Desktop / PC */
.single-standard-3 .single-header-inner::before {
    padding-bottom: 20%;
}

/* Κινητά & Tablets */
@media (max-width: 768px) {
    .single-standard-3 .single-header-inner::before {
        padding-bottom: 45%;
    }
}
.single-standard-3 .single-header {
    margin-bottom: 10px !important;
    padding-bottom: 0px !important;
}
.single-standard-3 .rb-s-container.edge-padding {
    padding-top: 0px !important;
}
.l-shared-sec-outer {
    padding-right: 0px !important;
}

/* Footer Fixes */
.rb-section.fw-widget.top-footer.edge-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
}
@media (max-width: 768px) {
    .rb-section.fw-widget.top-footer.edge-padding {
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        width: 100vw; /* Better than 100% inside flex */
        max-width: none;
    }
}

.single-post .entry-content p {
    margin-bottom: 15px;
}

/* =========================================================
   ARTICLE WIDENING (Optimized for CLS)
   ========================================================= */
@media (min-width: 1025px) {
    .single-post .entry-content {
        /* Χρήση margin αντί για transform για αποφυγή CLS & overlapping */
        margin-left: -70px; 
        width: calc(100% + 150px);
        max-width: none;
    }
}

/* =========================================================
   SIDEBAR (WIDE)
   ========================================================= */
@media (min-width: 1025px) {
    .single-post .sidebar-wrap.single-sidebar {
        margin-left: -23px;
        flex: 0 0 480px;
        width: 480px;
        max-width: 480px;
    }
    
    .single-post .sidebar-wrap.single-sidebar.has-border {
        border-left-color: #839EFF;
    }
}

/* =========================================================
   LIST STYLING (Bullet Points)
   ========================================================= */
.single-post .entry-content ul {
    list-style: none;
    padding-left: 18px;
    margin-top: 8px;
    margin-bottom: 14px;
}

.single-post .entry-content ul li {
    position: relative;
    margin-bottom: 6px;
}

.single-post .entry-content ul li::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 0.6em; /* Χρήση em για να κεντράρεται ανάλογα με το μέγεθος γραμματοσειράς */
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #011363;
}
/* =========================================================
   TESTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
   ========================================================= */
/* =========================================================
   MANROPE FORCE – STABLE VERSION (ICON SAFE)
   Foxiz + Elementor
   ========================================================= */

/* ---------- FONT FACE ---------- */
@font-face {
  font-family: 'ManropeForce';
  src: url('/wp-content/themes/foxiz-child/fonts/Manrope-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ManropeForce';
  src: url('/wp-content/themes/foxiz-child/fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ManropeForce';
  src: url('/wp-content/themes/foxiz-child/fonts/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   1️⃣ FORCE FONT ΜΟΝΟ ΣΕ TEXT ELEMENTS
   (ΟΧΙ σε i / svg / pseudo)
   ========================================================= */

html,
body,
p,
span,
a,
strong,
em,
b,
small,
li,
dt,
dd,
blockquote,
cite,
time,
label,
input,
textarea,
select,
button,
h1, h2, h3, h4, h5, h6,
nav,
menu,
article,
section,
main,
aside,
footer,
header,
div {
  font-family: 'ManropeForce' !important;
  font-synthesis: none !important;
}

/* Elementor ειδικά */
.elementor-heading-title,
.elementor-text-editor,
.elementor-button-text,
.elementor-nav-menu,
.elementor-tab-title,
.elementor-accordion-title {
  font-family: 'ManropeForce' !important;
}

/* =========================================================
   2️⃣ ICONS – ABSOLUTE RESTORE
   ========================================================= */

/* SVG – δεν τα πειράζουμε */
svg,
svg * {
  font-family: unset !important;
}

/* Font Awesome */
.fa,
.fas,
.far,
.fab,
.fal,
.fad {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* Elementor icons */
.eicon,
.elementor-icon {
  font-family: "eicons" !important;
  font-weight: normal !important;
}

/* WordPress dashicons */
.dashicons {
  font-family: "dashicons" !important;
}

/* Foxiz / Ruby icons */
.rb-icon,
.rb-i,
.ruby-icon {
  font-family: inherit !important;
}
