/*
 * Theme Name: Hello Elementor Child
 * Template: hello-elementor
 * Created by: Stelios Mparmpounis
 */

.wide-picture img {
    min-height: 250px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .wide-picture img {
        min-height: 150px;
    }
}

/* Filled button global */
.elementor-button {
  padding: 6px 20px 6px 20px !important;
}
.elementor-button .elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.elementor-button .elementor-button-icon {
  background-color: #fff;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}
.elementor-button .elementor-button-icon svg {
  fill: var(--e-global-color-primary);
  width: 16px;
  height: 16px;
}

/* Syllogos Carousel Style */
.psng-carousel img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16/9 !important;
}

.psng-carousel .elementor-swiper-button-prev,
.psng-carousel .elementor-swiper-button-next {
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--e-global-color-primary);
    background: transparent;
    backdrop-filter: blur(10px);
    color: var(--e-global-color-primary);
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psng-carousel .elementor-swiper-button-prev svg,
.psng-carousel .elementor-swiper-button-next svg {
    width: 13px; height: 13px;
    fill: #fff !important;
    transition: fill .2s;
}

.psng-carousel .elementor-swiper-button-prev:hover,
.psng-carousel .elementor-swiper-button-next:hover {
    background: var(--e-global-color-primary);
    color: #fff !important;
    cursor: pointer;
}

.psng-carousel .elementor-swiper-button-prev:hover svg,
.psng-carousel .elementor-swiper-button-next:hover svg {
    fill: #fff !important;
}

.psng-carousel .swiper-pagination-bullet {
    background: var(--e-global-color-primary);
    opacity: .35;
}

.psng-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ─────────────────────────────────────────
   Syllogos Stats Grid (4 per row)
   ───────────────────────────────────────── */

@keyframes stat-pop {
    0%   { opacity: 0; transform: scale(0.8) translateY(10px); }
    70%  { transform: scale(1.05) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.syllogos-stats-grid .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

@media (max-width: 1024px) {
    .syllogos-stats-grid .e-con-inner {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .syllogos-stats-grid .e-con-inner {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .syllogos-stats-grid .stat-box {
        padding: 20px 12px;
    }

    .syllogos-stats-grid .stat-value {
        font-size: 1.6rem;
    }

    .syllogos-stats-grid .stat-label {
        font-size: 10px;
    }
}

/* ─────────────────────────────────────────
   Blood Stats Grid (3 per row)
   ───────────────────────────────────────── */

.psng-blood-stats-grid .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
}

@media (max-width: 600px) {
    .psng-blood-stats-grid .e-con-inner {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .psng-blood-stats-grid .stat-box {
        padding: 20px 12px;
    }

    .psng-blood-stats-grid .stat-value {
        font-size: 1.6rem;
    }

    .psng-blood-stats-grid .stat-label {
        font-size: 10px;
    }
}

/* ─────────────────────────────────────────
   Shared — .stat-box και περιεχόμενο
   ───────────────────────────────────────── */

.stat-box {
    background: #fff;
    border: 0.5px solid var(--ev-border);
    border-radius: var(--ev-radius);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    opacity: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: box-shadow .2s;
    width: 100%;
}

/* Fill layer */
.stat-box::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--e-global-color-primary, var(--ev-red));
    transition: top .4s ease;
    z-index: -1;
}

.stat-box:hover::before { top: 0; }

.stat-box:hover {
    box-shadow: 0 4px 16px rgba(156,0,0,.25);
}

.stat-box:hover .stat-icon {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.stat-box:hover .stat-value { color: #fff; }
.stat-box:hover .stat-label { color: rgba(255,255,255,.8); }

.stat-box.is-visible {
    animation: stat-pop 0.4s ease forwards;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--ev-bg-empty);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ev-red);
    font-size: 22px;
    transition: background .4s, color .4s;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ev-red);
    line-height: 1;
    transition: color .4s;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 11px;
    color: var(--ev-gray);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .4s;
    position: relative;
    z-index: 1;
}

/*  Icon List — Main Events */
.psng-main-events-icons-list .elementor-icon-list-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.psng-main-events-icons-list .elementor-icon-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--e-global-color-primary);
    border: 0.5px solid var(--e-global-color-primary);
    border-radius: var(--ev-radius);
    padding: 14px 18px;
    transition: box-shadow .2s, transform .2s, filter .2s;
    opacity: 0;
}

.psng-main-events-icons-list .elementor-icon-list-item:hover {
    box-shadow: 0 4px 16px rgba(156,0,0,.1);
    transform: translateX(6px);
    filter: brightness(1.1);
}

.psng-main-events-icons-list .elementor-icon-list-icon {
    flex-shrink: 0;
    width: 32px; 
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
}

.psng-main-events-icons-list .elementor-icon-list-icon svg {
    width: 14px; height: 14px;
    fill: #fff;
}

.psng-main-events-icons-list .elementor-icon-list-text {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

@keyframes list-item-pop {
    0%   { opacity: 0; transform: translateX(-16px); }
    70%  { transform: translateX(4px); }
    100% { opacity: 1; transform: translateX(0); }
}

.psng-main-events-icons-list .elementor-icon-list-item.is-visible {
    animation: list-item-pop 0.4s ease forwards;
}


/* Instagram Follow Button */
.instagram-gallery__actions .instagram-gallery__button--follow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 10px 20px 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid var(--e-global-color-primary, #9C0000) !important;
    transition: background .3s, border-color .3s, color .3s !important;
}

.instagram-gallery__actions .instagram-gallery__button--follow:hover {
    background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

/* TikTok Follow Button */
.tiktok-feed__button--follow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 10px 20px 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid var(--e-global-color-primary, #9C0000) !important;
    transition: background .3s, border-color .3s, color .3s !important;
}

.tiktok-feed__button--follow svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
    transition: filter .3s !important;
}

.tiktok-feed__button--follow:hover {
    background: #010101 !important;
    border-color: #010101 !important;
    color: #fff !important;
}

.tiktok-feed__button--follow:hover svg {
    filter: brightness(0) invert(1) !important;
}

/* Choros section custom style */
.ps-choros img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

.ps-choros .elementor-widget-image {
  height: 50vh !important;
}

.ps-choros .elementor-widget-image a,
.ps-choros .elementor-widget-image div {
  height: 100% !important;
}

.ps-choros .elementor-widget-button {
  transform: translate(-50%) !important;
}


/* FLUENT FORMS STYLING */
.ff-btn-submit {
  padding: 6px 8px 6px 20px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 700 !important;
}

.ff-btn-submit::after {
  content: '';
  background-color: #fff;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239c0000'%3E%3Cpath d='M2 21l21-9L2 3v7l15 2-15 2v7z'/%3E%3C/svg%3E");
}


/* INFORMATION PAGES */
.info-pages-container {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.8;
    color: #222;
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 24px;
}

.info-pages-container h1 {
    font-size: 1.8rem;
    color: #1a1a1a;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 12px;
    margin-bottom: 8px;
}

.info-pages-container h2 {
    font-size: 1.2rem;
    color: #8b0000;
    margin-top: 36px;
    margin-bottom: 8px;
}

.info-pages-container .meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.info-pages-container p {
    margin: 0 0 14px;
}

.info-pages-container ul {
    margin: 0 0 14px 24px;
    padding: 0;
}

.info-pages-container ul li {
    margin-bottom: 6px;
}

.info-pages-container a {
    color: #8b0000;
}

.info-pages-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.info-pages-container th {
    background: #8b0000;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
}

.info-pages-container td {
    border-bottom: 1px solid #ddd;
    padding: 10px 12px;
    vertical-align: top;
}

.info-pages-container tr:nth-child(even) td {
    background: #f9f9f9;
}

.info-pages-container .contact-box {
    background: #f9f9f9;
    border-left: 4px solid #8b0000;
    padding: 16px 20px;
    margin-top: 32px;
    font-size: 0.95rem;
}

.info-pages-container .contact-box strong {
    display: block;
    margin-bottom: 6px;
}