/* ==========================================================================
   Hdr22 Minimal Core (100% Hello Elementor Logic)
   ========================================================================== */

body {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    font-feature-settings: "ss01";
}

img {
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.woocommerce ul.products,
.elementor-widget-woocommerce-products ul.products,
.elementor-widget-loop-grid ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.clear::after, 
.clearfix::after,
.woocommerce ul.products::after {
    content: "";
    display: table;
    clear: both;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Fallback & 404 Styles
   ========================================================================== */
.hdr22-container.fallback-mode {
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 20px;
}


.hdr22-fallback-article,
.hdr22-404-main {
    max-width: 800px;
    margin: 10vh auto;
    padding: 20px;
    font-family: system-ui, -apple-system, sans-serif;
}

.hdr22-404-main {
    text-align: center;
}

body.rtl .hdr22-specific-element {
    text-align: right;
}

.hdr22-admin-alert {
    background-color: #ffcdd2;
    color: #b71c1c;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
}

.hdr22-admin-alert.front-page-alert {
    margin-bottom: 30px;
}

.hdr22-404-section .page-title {
    font-size: clamp(4rem, 10vw, 8rem);
    margin: 0 0 10px 0;
    color: #1e293b;
    line-height: 1;
}

.hdr22-btn-home {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background-color: #0f172a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.hdr22-btn-home:hover {
    background-color: #334155;
    color: #ffffff;
}

.hdr22-fallback-article .entry-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #1e293b;
}

.hdr22-fallback-article .post-thumbnail {
    margin-bottom: 20px;
}

.hdr22-fallback-article .post-thumbnail img {
    border-radius: 8px;
}

.hdr22-fallback-article .entry-content {
    line-height: 1.8;
    font-size: 1.1em;
    color: #334155;
}

.hdr22-fallback-article .page-links {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.hdr22-front-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hdr22-archive-header {
    margin-bottom: 40px;
    text-align: center;
}

.hdr22-archive-article {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.hdr22-search-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #1e293b;
}

.hdr22-search-article {
    margin-bottom: 30px;
}

.hdr22-no-results {
    padding: 40px 0;
    text-align: center;
}