/*
Theme Name: Agora Child
Template: agora
Theme URI: https://wordpress.org/agora-child/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Agora Child Theme
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agora-child
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
 
/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
 
 
/* ================================
   EVENT FILTER DESIGN
================================ */

.page_content_wrap {
    padding-top: 1rem;
    padding-bottom: 7.4rem;
}

.js-filter {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.js-filter select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    min-width: 180px;
}

.filter-btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.search-btn {
    background: #f2f2f2;
    color: #fff;
    padding: 2px 25px;
    font-size:35px;
    cursor: pointer;
}

.search-btn:hover {
    background:#89b1f6;
    color: #fff;
    padding: 2px 25px;
    font-size:35px;
    cursor: pointer;
}

.reset-btn {
    background: #f2f2f2;
    color: #333;
    padding: 5px 25px;
}

.reset-btn:hover {
     background:#89b1f6;
     color: #333;
    padding: 5px 25px;
    font-size:15px;
    cursor: pointer;
}

/*main page code */

.sidebar_right [class*="content_wrap"] > .sidebar {
    display: none;
    float: right;
}

body.body_style_wide:not(.expand_content) [class*="content_wrap"] > .content, body.body_style_boxed:not(.expand_content) [class*="content_wrap"] > .content {
    width: 100% !important;
}

@media (max-width: 1024px) {
    .js-filter {
        flex-wrap: wrap;
        gap: 10px;
    }

    .js-filter select {
        min-width: 160px;
    }
}

 @media (max-width: 768px) {
    .js-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .js-filter select,
    .filter-btn {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .js-filter {
        padding: 12px;
        border-radius: 12px;
    }

    .js-filter select,
    .filter-btn {
        font-size: 13px;
        padding: 10px 12px;
    }
}

 /*main page code end */
 
 
 /* 3 events per row */
#events-results {
    margin-top:20px ;
    padding-right:20px ;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* EACH EVENT BOX */
#events-results > * {
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 20px;

    /* Center align content */
    /*text-align: center;*/
    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect (optional but nice) */
#events-results > *:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 1024px) {
    #events-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #events-results {
        grid-template-columns: 1fr;
    }
}


/* Event card layout */
.event-card {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    align-items: flex-start;
}

/* Logo column (left side) */
.event-card .event-logo {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo image */
.event-card .event-logo img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

/* Content column (right side) */
.event-card .event-content {
    flex: 1;
}

/* Title */
.event-card .event-content h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

/* List styling */
.event-card .event-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.event-card .event-content li {
    margin-bottom: 0px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-card .event-logo {
        flex: 0 0 auto;
    }
}

.container {
  display: grid;
  grid-template-areas:
    "header header"
    "menu content"
    "footer footer";
  grid-template-columns: 1fr 3fr;
  gap: 3px;
  padding: 5px;
}

/*.container-btn {*/
/*  display: grid;*/
/*  grid-template-columns: auto auto auto;*/
/*  background-color: dodgerblue;*/
/*  padding: 10px;*/
/*}*/

.container-btn {
    display: flex;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
}

.container-btn .action-item {
    list-style: none;
    flex: 1;
    border-right: 1px solid #e5e5e5;
}

.container-btn .action-item:last-child {
    border-right: none;
}

.container-btn .action-link {
    display: flex;
    align-items: center;
    justify-content:center;
    /*padding: 0px 5px;*/
    font-size: 12px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    position: relative;
}

/* Arrow icon */
.container-btn .action-link::after {
    content: "↗";
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Hover effect */
.container-btn .action-link:hover {
    background: #fff;
}

.container-btn .action-link:hover::after {
    transform: translateX(4px);
}


 
/*.event-card {*/
/*    display: flex;*/
/*    gap: 30px;*/
/*    padding: 30px;*/
/*    background: #fafbff;*/
/*    border: 1px solid #e2e2e2;*/
/*    border-radius: 14px;*/
/*    align-items: center;*/
/*}*/

/*.event-logo img {*/
/*    max-width: 150px;*/
/*    height: auto;*/
/*}*/

/*.event-info {*/
/*    flex: 1;*/
/*}*/

/*.event-title {*/
/*    font-size: 22px;*/
/*    font-weight: 700;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.event-date {*/
/*    border: 2px solid #d3a4ff;*/
/*    border-radius: 6px;*/
/*    padding: 8px 12px;*/
/*    display: inline-block;*/
/*    margin-bottom: 15px;*/
/*    font-size: 14px;*/
/*}*/

/*.event-meta {*/
/*    list-style: none;*/
/*    padding: 0;*/
/*    margin: 0 0 20px;*/
/*}*/

/*.event-meta li {*/
/*    font-size: 14px;*/
/*    margin-bottom: 6px;*/
/*}*/

/*.event-actions {*/
/*    display: flex;*/
/*    gap: 40px;*/
/*}*/

/*.event-link {*/
/*    font-size: 15px;*/
/*    font-weight: 600;*/
/*    color: #000;*/
/*    text-decoration: none;*/
/*}*/

/*.event-link span {*/
/*    margin-left: 6px;*/
/*    transition: margin-left 0.2s ease;*/
/*}*/

/*.event-link:hover span {*/
/*    margin-left: 10px;*/
/*}*/
