/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.5.1752069136
Updated: 2025-07-09 13:52:16

*/
/* Homer Patuach Grid - General Styles */
body {
    direction: rtl;
}
#hpg-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    font-family: 'Rubik', sans-serif;
}
/* Filters Bar */
#hpg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.hpg-filter-item {
    flex: 1 1 220px;
}
.hpg-search-item {
    flex: 2 1 300px;
}
#hpg-filters select,
#hpg-filters input[type="search"] {
    width: 100%;
    padding: 0 25px; /* Adjusted padding */
    border: 1px solid #ddd;
    border-radius: 50px;
    background-color: #fff;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Rubik', sans-serif; /* Added font */
    height: 50px; /* Explicit height */
    line-height: 50px; /* Match height to vertically center */
    -webkit-appearance: none; /* Remove default OS styling */
    -moz-appearance: none;
    appearance: none;
}
#hpg-filters select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    padding-left: 45px;
}
#hpg-clear-filters {
    background: linear-gradient(135deg, #ff9a44, #ff5f6d);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 0 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 107, 129, 0.4);
    width: 100%;
    text-align: center;
    height: 50px;
    line-height: 50px;
}
#hpg-clear-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 129, 0.5);
    color: white;
}
#hpg-filters select:focus,
#hpg-filters input[type="search"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
    outline: none;
}
/* Grid and card styles are now in submission.css for global access */

#hpg-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0073aa;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
.hpg-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #777;
}

/* Custom Class Filter Styles */
.hpg-class-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.class-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 45px;
    height: 45px;
    padding: 0 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    font-size: 14px;
    color: #555;
}

.class-circle:hover {
    border-color: #ff9a44;
    color: #ff9a44;
}

.class-circle.active {
    background: linear-gradient(135deg, #ff9a44, #ff5f6d);
    color: white;
    border-color: transparent;
    font-weight: bold;
    transform: scale(1.05);
}

/*
=========================================
  Report Content Button & Modal
=========================================
*/
.post-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hpg-report-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 50%; /* Make it round */
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #555;
    transition: all 0.2s ease-in-out;
}

.hpg-report-button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
    color: #000;
}

.hpg-report-button svg {
    width: 20px;
    height: 20px;
}

/* You can add styles for the modal later */

.hpg-modal-overlay {
    display: none; /* Hide by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.hpg-modal-overlay.visible {
    display: flex; /* Show as a modal */
}

.hpg-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hpg-modal-close {
    position: absolute;
    top: 10px;
    right: 15px; /* Changed to right for LTR consistency, can be adjusted for RTL */
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
}
.hpg-modal-close:hover {
    color: #333;
}

#hpg-report-form .hpg-form-group {
    margin-bottom: 15px;
}

#hpg-report-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#hpg-report-form select,
#hpg-report-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#hpg-submit-report-button {
    background-color: #0073aa; /* WordPress blue */
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#hpg-submit-report-button:hover {
    background-color: #005a87;
}

#hpg-report-feedback {
    padding: 10px;
    border-radius: 4px;
}

#hpg-report-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#hpg-report-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
} 
