/*
 Theme Name: MicroAI Child Theme
 Template: bridge
 Version: 1.0
 Description: Child theme for MicroAI using Bridge parent theme
*/

/* =========================================================
   OPTION A — CLEAN CORPORATE EVENT LAYOUT (HERO + CONTENT)
   ========================================================= */
.microai-event-wrapper {
    font-family: "Inter", sans-serif;
}

.event-hero {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-hero-overlay {
    background: rgba(0,0,0,0.55);
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.event-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    gap: 25px;
    font-size: 17px;
    margin-bottom: 25px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-register-btn {
    background: #00AEEF;
    padding: 12px 30px;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    width: fit-content;
    text-decoration: none;
    transition: 0.3s;
}

.event-register-btn:hover {
    background: #008ac0;
}

.event-content {
    max-width: 900px;
    margin: 40px auto;
    font-size: 18px;
    line-height: 1.7;
}

.event-register-box {
    max-width: 900px;
    margin: 60px auto;
    background: #f8f9fb;
    padding: 40px;
    border-radius: 12px;
}

.event-register-box h2 {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .event-hero { height: 280px; }
    .event-title { font-size: 28px; }
    .event-meta { flex-direction: column; gap: 10px; }
}

/* Fix blog post images */
.post_image {
    height: auto !important;
    overflow: hidden;
    border-radius: 50px!important;
    margin-bottom: 30px;
}


/* =========================================================
   OPTION A — CLEAN CORPORATE EVENT BOX STYLE
   Shortcode: [event_details]
   ========================================================= */

.event-box-a {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px;
    max-width: 700px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.06);
    margin: 0px 0;
	    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-style: normal;
    font-weight: 400;
}

.event-header-a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.event-title-a {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #1a2b4b;
}

.event-title-a .event-icon-a {
    font-size: 20px;
    
}

.event-badge-a {
    background: #ff0000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 500; width:100%; text-align:center; margin-top:20px;
}

.event-row-a {
    display: flex;
    margin-bottom: 10px;
padding-top: 10px; border-top: 1px solid #ccc;
}

.event-label-a {
    width: 50%;
    font-weight: 600;
    color: #1a2b4b;
    display: flex;
    align-items: center;
	 
}

.event-label-a span {
    margin-right: 8px;
}

.event-value-a {
    color: #000000;
    font-size: 15px;
    font-weight: 500; text-align:right;
}

.expired-text-a {
    color: #e63946;
    font-weight: 600;
    margin-left: 6px;
}


.EventCategories a{
	background: #f1f1f1;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 5px 10px;
  margin: 3px 0;
  border-radius: 6px;
  display: inline-block;
	pointer-events:none;
}



.blog_holder article .post_image {
    height: auto !important;
    overflow: hidden;
    border-radius: 20px !important;
    margin-bottom: 30px;
}



/* Resources Filter */
.pgafu-post-grid-main.pgafu-design-1 .pgafu-post-grid-content{text-align:left!important;}
.pgafu-post-categories a{display:none;}
.pgafu-post-categories a[href$="pdf"],
.pgafu-post-categories a[href$="machine-insight-white-papers"],
.pgafu-post-categories a[href$="digital-factory-white-papers"],
.pgafu-post-categories a[href$="cyber-security-white-papers"],
.pgafu-post-categories a[href$="smart-connectivity-white-papers"], 
.pgafu-post-categories a[href$="machine-intelligence-product-docs"], 
.pgafu-post-categories a[href$="digital-factory-product-doc"], 
.pgafu-post-categories a[href$="launchpad-product-docs"], 
.pgafu-post-categories a[href$="security-and-monitoring-product-doc"], 
.pgafu-post-categories a[href$="atomml-tech-docs"], 
.pgafu-post-categories a[href$="eval-kit-guide-tech-docs"], 
.pgafu-post-categories a[href$="tutorials"],
.pgafu-post-categories a[href$="atomml-videos"],
.pgafu-post-categories a[href$="demos-videos"],
.pgafu-post-categories a[href$="webinars"],
.pgafu-post-categories a[href$="atomml-videos-resources"],
.pgafu-post-categories a[href$="injection-mold-usecases"],
.pgafu-post-categories a[href$="vfd-usecases"],
.pgafu-post-categories a[href$="welders-usecases"],
.pgafu-post-categories a[href$="security-monitoring-usecases"],
.pgafu-post-categories a[href$="manufacturing-cs"],
.pgafu-post-categories a[href$="telco-cs"],
.pgafu-post-categories a[href$="machine-intelligence-cs"],
.pgafu-post-categories a[href$="data-intelligence-cs"],.pgafu-post-categories a[href$="aistudio-cs"],
.pgafu-post-categories a[href$="articles"],
.pdf, .article, .techdocs, .blog, .whitepaper, .vdo, .product-documents, .usecases,
.post_infos a[href$="white-papers"], 
.post_infos a[href$="case-studies"], 
.post_infos a[href$="technical-docs"], 
.pgafu-post-categories a[href$="smart-connectivity-product-docs"], 
.post_infos a[href$="blog"], .product-docs a[href$="blog"], .pgafu-post-categories a[href$="aistudio-product-docs"],.pgafu-post-categories a[href$="data-intelligence-wp"],
.pgafu-post-categories a[href$="genai"],
.pgafu-post-categories a[href$="genai-cs"],
.pgafu-post-categories a[href$="digital-factory-cs"],
.pgafu-post-categories a[href$="/events/digital-factory-events"],
.pgafu-post-categories a[href$="/events/iot"],
.pgafu-post-categories a[href$="/events/agriculture"],
.pgafu-post-categories a[href$="/events/auto"],
.pgafu-post-categories a[href$="/events/energy"],
.pgafu-post-categories a[href$="/events/general-tech"],
.pgafu-post-categories a[href$="/events/hackathon-events"],
.pgafu-post-categories a[href$="/events/manufacturing"],
.pgafu-post-categories a[href$="/events/sensors-electronics"],
.pgafu-post-categories a[href$="/events/telecom"],
.pgafu-post-categories a[href$="/events/tradeshows"],
.pgafu-post-categories a[href$="/events/virtual-partner-ug"],
.pgafu-post-categories a[href$="/events/webinar"]
{ pointer-events: none;
display:inline-block!important;    
transition: all 0.5s ease-out 0s;
font-size: 12px!important;
text-transform: uppercase!important;
padding: 4px 8px!important;
color: #333!important;
line-height: normal!important;
display: inline-block;
margin: 0 0 2px 0;
font-weight: 700!important;
letter-spacing: 0.5px!important;
border-radius: 3px;
}

.pgafu-post-categories a[href$="articles"],
.pgafu-post-categories a[href$="tutorials"],
.pgafu-post-categories a[href$="smart-connectivity-product-docs"], .pgafu-post-categories a[href$="/events/digital-factory-events"]
{background: #3aadff!important;}

.pgafu-post-categories a[href$="machine-insight-white-papers"],
.pgafu-post-categories a[href$="machine-intelligence-product-docs"],
.pgafu-post-categories a[href$="telco-cs"],
.pgafu-post-categories a[href$="atomml-videos"], .pgafu-post-categories a[href$="/events/agriculture"], .pgafu-post-categories a[href$="/events/tradeshows"] {background: #05dbf7!important;}

.pgafu-post-categories a[href$="digital-factory-white-papers"],
.pgafu-post-categories a[href$="digital-factory-product-doc"],.pgafu-post-categories a[href$="aistudio-cs"],
.pgafu-post-categories a[href$="machine-intelligence-cs"],.pgafu-post-categories a[href$="migwelder-usecases"]
.pgafu-post-categories a[href$="demos-videos"], .pgafu-post-categories a[href$="/events/auto"], .pgafu-post-categories a[href$="/events/telecom"] {background: #08bdf4!important;}

.pgafu-post-categories a[href$="cyber-security-white-papers"],
.pgafu-post-categories a[href$="launchpad-product-docs"],
.pgafu-post-categories a[href$="atomml-tech-docs"],.pgafu-post-categories a[href$="data-intelligence-cs"],
.pgafu-post-categories a[href$="predictive-manufacturing-cs"],
.pgafu-post-categories a[href$="security-monitoring-usecases"],
.pgafu-post-categories a[href$="webinars"],
.pgafu-post-categories a[href$="aistudio-product-docs"], .usecases , .pgafu-post-categories a[href$="/events/iot"]{background: #3fe0d0!important;}

.pgafu-post-categories a[href$="smart-connectivity-white-papers"],
.pgafu-post-categories a[href$="security-and-monitoring-product-doc"],
.pgafu-post-categories a[href$="eval-kit-guide-tech-docs"],
.pgafu-post-categories a[href$="manufacturing-cs"],
.pgafu-post-categories a[href$="atomml-videos-resources"], .pgafu-post-categories a[href$="/events/energy"], .pgafu-post-categories a[href$="/events/sensors-electronics"]{background: #8be1fc!important;}

.pgafu-post-categories a[href$="data-intelligence-wp"], .pgafu-post-categories a[href$="/events/general-tech"]{background: #d4c1e7!important;}
.pgafu-post-categories a[href$="genai"],.pgafu-post-categories a[href$="genai-cs"], .pgafu-post-categories a[href$="/events/hackathon-events"]{background: #ceca89!important;}
.pgafu-post-categories a[href$="digital-factory-cs"], .pgafu-post-categories a[href$="/events/manufacturing"]{background: #E2DED0!important;}

.pgafu-post-categories a[href$="/events/virtual-partner-ug"], .pgafu-post-categories a[href$="/events/webinar"]{background: #E2DED0!important;}
.pgafu-post-categories a:hover{background: #fff!important;} 
/* End Resources Filter */