/*
Theme Name: Pedacta
Theme URI: https://pedacta.padi.psiedu.ubbcluj.ro
Description: Pedacta Theme
Author: Bartalis Tunde Aniko
Author URI: mailto:tunde.bartalis@ubbcluj.ro
Template: astra
Version: 1.0.1
*/

/* =========================================================
   Global design tokens
   ========================================================= */
.ast-logo-title-inline .ast-site-identity {
  padding: 0;
}

/* Polylang language switcher side-by-side in header */
.header-widget-area .widget_polylang ul {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  /* gap between languages */
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-widget-area .widget_polylang li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Link + flag + text in one row */
.header-widget-area .widget_polylang a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-widget-area .widget_polylang img {
  display: block;
}

/* sticky header */
/* Only the Main Header (Primary) should be sticky */
/* Fixed header frame (activated with a class on scroll) */
#masthead.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
}

/* Hide the language switcher bar on scroll */
#masthead.is-fixed .ast-above-header-wrap {
  display: none;
}

/* Give the main bar a little shadow on scroll */
#masthead.is-fixed .ast-main-header-wrap {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

@media (max-width: 460px) {
  .ast-site-title-wrap {
    display: none;
  }
}

/* other custom settings */
.wp-block-post-date,
.entry-meta {
  display: none;
}

.ast-breadcrumbs-wrapper {
  display: none;
}

.home .material-symbols-outlined {
  font-size: 48px!important;
  line-height: 1!important;
  vertical-align: middle;
  color: #204c84;
}

.eb-feature-list-mib4v.eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon {
  background-color: #204c84;
}

.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .ast-row,
.ast-separate-container .ast-article-single:not(.ast-related-post) {
  margin-left: 0;
  margin-right: 0;
}

.archive .ast-archive-description,
.ast-separate-container .ast-article-single:not(.ast-related-post),
.search .ast-container section.ast-archive-description {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 45px;
}

.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
  padding: 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.ast-blog-layout-4-grid .ast-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
}

.ast-blog-layout-4-grid .ast-row > * {
    width: calc((100% - 48px) / 3);
    font-size: 15px!important;
}

.padi-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}
.padi-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #1f4f8a;
    color: #fff;
}

.eb-post-grid-wrapper.eb-post-grid-ysxgy.style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper { width: 100%; }
.eb-post-grid-wrapper.eb-post-grid-ysxgy .ebpg-entry-title a { font-size:16px!important; }
.eb-post-grid-wrapper.eb-post-grid-jzeu1.style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper { width: 100%; }
.eb-post-grid-wrapper.eb-post-grid-jzeu1 .ebpg-entry-title a { font-size:16px!important; }