/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra Child Theme for AgilePM.Education
Author: AgilePM.Education
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/


/* =========================================================
   FOOTER - AgileAInovate bridge panel
   Fájl helye:
   /wp-content/themes/astra-child/css/footer.css
   ========================================================= */

.apm-footer-ai-bridge {
  width: 100%;
  margin: 0;
  padding: 1px 24px 1px;
  font-family: "Barlow", Arial, sans-serif;
}

.apm-footer-ai-bridge *,
.apm-footer-ai-bridge *::before,
.apm-footer-ai-bridge *::after {
  box-sizing: border-box;
  font-family: "Barlow", Arial, sans-serif;
}

/* =========================================================
   Fő kártya
   ========================================================= */

.apm-footer-ai-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: minmax(330px, 1.4fr) minmax(250px, auto) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(30, 202, 211, 0.15) 0%,
      rgba(30, 202, 211, 0) 34%
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(217, 154, 74, 0.12) 0%,
      rgba(217, 154, 74, 0) 34%
    ),
    linear-gradient(135deg, #102c42 0%, #0d2236 100%);
  box-shadow: 0 12px 28px rgba(4, 15, 29, 0.16);
}

/* Finom kör dekoráció a jobb felső sarokban */
.apm-footer-ai-card::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -72px;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(30, 202, 211, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

/* =========================================================
   Szöveges tartalom
   ========================================================= */

.apm-footer-ai-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.apm-footer-ai-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 5px 11px;
  border: 1px solid rgba(30, 202, 211, 0.26);
  border-radius: 50px;
  background: rgba(30, 202, 211, 0.08);
  color: #9de9ec;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apm-footer-ai-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.apm-footer-ai-title span {
  color: #d99a4a;
}

.apm-footer-ai-text {
  max-width: 545px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

/* =========================================================
   Címkék
   ========================================================= */

.apm-footer-ai-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
}

.apm-footer-ai-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

/* =========================================================
   CTA gomb
   ========================================================= */

.apm-footer-ai-action {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.apm-footer-ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 45px;
  margin: 0;
  padding: 11px 19px;
  border: none;
  border-radius: 9px;
  background: #d99a4a;
  color: #10263b !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.apm-footer-ai-button:visited {
  color: #10263b !important;
}

.apm-footer-ai-button:hover {
  background: #e4ab62;
  color: #10263b !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: none;
}

.apm-footer-ai-button:focus,
.apm-footer-ai-button:focus-visible {
  color: #10263b !important;
  text-decoration: none !important;
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.apm-footer-ai-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s ease;
}

.apm-footer-ai-button:hover .apm-footer-ai-arrow {
  transform: translate(2px, -2px);
}

/* =========================================================
   Tablet nézet
   ========================================================= */

@media (max-width: 1024px) {
  .apm-footer-ai-bridge {
    padding: 1px 22px 1px;
  }

  .apm-footer-ai-card {
    grid-template-columns: 1fr;
    padding: 20px 24px;
    gap: 16px;
  }

  .apm-footer-ai-text {
    max-width: 680px;
  }

  .apm-footer-ai-action {
    justify-content: flex-start;
  }
}

/* =========================================================
   Mobil nézet
   ========================================================= */

@media (max-width: 767px) {
  .apm-footer-ai-bridge {
    padding: 1px 16px 1px;
  }

  .apm-footer-ai-card {
    padding: 19px 18px;
    gap: 15px;
    border-radius: 15px;
  }

  .apm-footer-ai-card::after {
    right: -70px;
    top: -74px;
    width: 160px;
    height: 160px;
  }

  .apm-footer-ai-eyebrow {
    margin-bottom: 8px;
    padding: 5px 10px;
    font-size: 10.5px;
  }

  .apm-footer-ai-title {
    margin-bottom: 6px;
    font-size: 21px;
    line-height: 1.2;
  }

  .apm-footer-ai-text {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .apm-footer-ai-tags {
    gap: 7px;
  }

  .apm-footer-ai-tags span {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 11.5px;
  }

  .apm-footer-ai-action {
    width: 100%;
  }

  .apm-footer-ai-button {
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 14px;
  }
}

/* =========================================================
   Nagyon keskeny mobil nézet
   ========================================================= */

@media (max-width: 420px) {
  .apm-footer-ai-bridge {
    padding-left: 12px;
    padding-right: 12px;
  }

  .apm-footer-ai-card {
    padding: 17px 15px;
  }

  .apm-footer-ai-title {
    font-size: 20px;
  }

  .apm-footer-ai-tags span {
    white-space: normal;
    text-align: center;
  }
}