
:root{
  --avcert-purple:#513585;
  --avcert-purple2:#7556b8;
  --avcert-purple3:#9b7ae0;
  --avcert-lilac:#f6f2fb;
  --avcert-lilac2:#eee7f8;
  --avcert-ink:#241934;
  --avcert-muted:#70667d;
  --avcert-line:rgba(81,53,133,.12);
  --avcert-white:#fff;
  --avcert-shadow-sm:0 10px 30px rgba(65,42,103,.08);
  --avcert-shadow:0 24px 70px rgba(65,42,103,.14);
  --avcert-shadow-lg:0 34px 100px rgba(45,26,77,.20);
  --avcert-radius:30px;
}

.avcert-container{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.avcert-single,.avcert-archive,.avcert-root{overflow:hidden;background:#fff;color:var(--avcert-ink)}
.avcert-single a,.avcert-archive a,.avcert-root a{text-decoration:none}

/* Breadcrumb */
.avcert-breadcrumbs{
  position:relative;z-index:10;
  padding:15px 0;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--avcert-line);
  backdrop-filter:blur(16px);
}
.avcert-breadcrumbs .avcert-container{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px}
.avcert-breadcrumbs a{color:var(--avcert-purple);font-weight:750}
.avcert-breadcrumbs span{color:#b2a7bf}
.avcert-breadcrumbs strong{font-weight:750;color:#50445d}

/* Root / language archive hero */
.avcert-archive-hero{
  position:relative;isolation:isolate;overflow:hidden;
  padding:104px 0 112px;
  color:#fff;
  background:
    radial-gradient(circle at 86% 16%,rgba(255,255,255,.18),transparent 24%),
    radial-gradient(circle at 8% 90%,rgba(177,146,236,.22),transparent 30%),
    linear-gradient(135deg,#2e1c47 0%,#513585 52%,#8466c2 100%);
}
.avcert-archive-hero::before{
  content:"";position:absolute;z-index:-1;
  width:480px;height:480px;border:1px solid rgba(255,255,255,.14);border-radius:50%;
  right:-140px;top:-240px;
  box-shadow:0 0 0 52px rgba(255,255,255,.035),0 0 0 104px rgba(255,255,255,.025);
  animation:avcertFloat 9s ease-in-out infinite;
}
.avcert-archive-hero::after{
  content:"";position:absolute;left:5%;right:5%;bottom:-70px;height:135px;
  border:2px dashed rgba(255,255,255,.15);border-color:rgba(255,255,255,.16) transparent transparent transparent;border-radius:50%;
}
.avcert-archive-hero h1{
  margin:14px 0 18px!important;
  max-width:900px;
  color:#fff!important;
  font-size:clamp(46px,7vw,82px)!important;
  line-height:.96!important;
  letter-spacing:-.055em!important;
  font-weight:950!important;
  text-shadow:0 16px 42px rgba(20,10,35,.22);
}
.avcert-archive-hero p{
  max-width:780px;margin:0;
  font-size:clamp(17px,2vw,21px);
  line-height:1.65;color:rgba(255,255,255,.84)
}
.avcert-kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.17);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  color:#fff;font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase
}
.avcert-kicker::before{
  content:"";width:8px;height:8px;border-radius:50%;background:#62d792;
  box-shadow:0 0 0 0 rgba(98,215,146,.5);animation:avcertDot 1.8s infinite
}

/* Buttons */
.avcert-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.avcert-main-btn,.avcert-outline-btn,.avcert-inline-btn,.avcert-phone-btn,
.avcert-el-hero .roster-epb-btn,.avcert-el-final .roster-epb-btn{
  position:relative;overflow:hidden;
  display:inline-flex!important;align-items:center;justify-content:center;gap:9px;
  min-height:56px;padding:0 22px!important;border-radius:17px!important;
  text-decoration:none!important;font-weight:900!important;line-height:1!important;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease!important
}
.avcert-main-btn,.avcert-inline-btn,.avcert-el-hero .roster-epb-btn{
  background:#fff!important;color:var(--avcert-purple)!important;
  border:1px solid rgba(255,255,255,.75)!important;
  box-shadow:0 16px 38px rgba(24,12,43,.22),0 0 0 0 rgba(255,255,255,.18);
  animation:avcertButtonPulse 2.8s ease-in-out infinite
}
.avcert-main-btn::after,.avcert-inline-btn::after,.avcert-el-hero .roster-epb-btn::after{
  content:"";position:absolute;top:0;left:-80px;width:42px;height:100%;
  background:linear-gradient(90deg,transparent,rgba(113,79,179,.18),transparent);
  transform:skewX(-22deg);animation:avcertShine 3.3s infinite
}
.avcert-outline-btn,.avcert-phone-btn,.avcert-el-final .avcert-phone-btn{
  border:1px solid rgba(255,255,255,.38)!important;
  color:#fff!important;background:rgba(255,255,255,.10)!important;
  backdrop-filter:blur(12px)
}
.avcert-main-btn:hover,.avcert-outline-btn:hover,.avcert-inline-btn:hover,.avcert-phone-btn:hover,
.avcert-el-hero .roster-epb-btn:hover,.avcert-el-final .roster-epb-btn:hover{
  transform:translateY(-3px);
}

/* Listings */
.avcert-listing,.avcert-related{position:relative;padding:88px 0;background:#fff}
.avcert-listing::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 10% 10%,rgba(155,122,224,.08),transparent 18%)
}
.avcert-related{background:linear-gradient(180deg,#fbf9fe,#f5f0fb)}
.avcert-related .avcert-kicker{background:#eee7f8;color:var(--avcert-purple);border:1px solid rgba(81,53,133,.08)}
.avcert-related .avcert-kicker::before{background:var(--avcert-purple3)}
.avcert-related h2{color:var(--avcert-purple);font-size:clamp(30px,4vw,46px);letter-spacing:-.035em;margin:14px 0 30px}

.avcert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.avcert-card{
  position:relative;overflow:hidden;isolation:isolate;
  display:flex;flex-direction:column;min-height:310px;padding:30px;
  border-radius:30px;
  border:1px solid rgba(81,53,133,.11);
  background:
    radial-gradient(circle at 90% 5%,rgba(155,122,224,.13),transparent 24%),
    linear-gradient(180deg,#fff,#fdfcff);
  color:var(--avcert-ink)!important;
  box-shadow:var(--avcert-shadow-sm);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease
}
.avcert-card::before{
  content:"";position:absolute;z-index:-1;width:150px;height:150px;border-radius:50%;
  right:-75px;top:-75px;background:linear-gradient(135deg,rgba(81,53,133,.11),rgba(155,122,224,.06));
  transition:transform .35s ease
}
.avcert-card::after{
  content:"";position:absolute;left:30px;right:30px;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--avcert-purple),var(--avcert-purple3));
  transform:scaleX(0);transform-origin:left;transition:transform .3s ease
}
.avcert-card:hover{
  transform:translateY(-7px);
  border-color:rgba(81,53,133,.24);
  box-shadow:var(--avcert-shadow)
}
.avcert-card:hover::before{transform:scale(1.15)}
.avcert-card:hover::after{transform:scaleX(1)}
.avcert-card span{font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#9a82c5}
.avcert-card h2,.avcert-card h3{margin:10px 0 12px;color:var(--avcert-purple)!important;line-height:1.03;letter-spacing:-.03em}
.avcert-card h2{font-size:31px}.avcert-card h3{font-size:25px}
.avcert-card p{margin:0;color:var(--avcert-muted);line-height:1.65}
.avcert-card b{display:block;margin-top:auto;padding-top:22px;color:var(--avcert-purple);font-weight:900}

/* Language cards */
.avcert-language-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.avcert-language-card{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;
  padding:32px;border-radius:30px;
  background:linear-gradient(145deg,#fff,#fbf9fe);
  border:1px solid rgba(81,53,133,.11);
  color:var(--avcert-ink)!important;
  box-shadow:var(--avcert-shadow-sm);
  transition:transform .28s ease,box-shadow .28s ease
}
.avcert-language-card:hover{transform:translateY(-5px);box-shadow:var(--avcert-shadow)}
.avcert-lang-icon{
  width:76px;height:76px;border-radius:23px;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--avcert-purple),var(--avcert-purple2));
  color:#fff;font-weight:950;font-size:22px;
  box-shadow:0 15px 34px rgba(81,53,133,.25)
}
.avcert-language-card span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#a18abf;font-weight:900}
.avcert-language-card h2{margin:3px 0;color:var(--avcert-purple)!important;font-size:32px;letter-spacing:-.03em}
.avcert-language-card p{margin:0;color:var(--avcert-muted)}
.avcert-language-card>b{font-size:32px;color:var(--avcert-purple)}

/* Elementor generated / editable certificate pages */
.avcert-article>.elementor{margin:0!important}
.avcert-el-hero{
  position:relative;overflow:hidden;isolation:isolate;
  color:#fff!important;
  background:
    radial-gradient(circle at 88% 16%,rgba(255,255,255,.16),transparent 23%),
    radial-gradient(circle at 10% 86%,rgba(180,151,234,.20),transparent 28%),
    linear-gradient(135deg,#2f1d49,#513585 55%,#8062bd)!important;
  border:0!important
}
.avcert-el-hero::before{
  content:"";position:absolute;z-index:0;width:470px;height:470px;border-radius:50%;
  border:1px solid rgba(255,255,255,.13);right:-160px;top:-220px;
  box-shadow:0 0 0 48px rgba(255,255,255,.03),0 0 0 96px rgba(255,255,255,.02);
  animation:avcertFloat 10s ease-in-out infinite
}
.avcert-el-hero>.elementor-container,.avcert-el-hero>.e-con-inner{position:relative;z-index:2}
.avcert-el-hero,
.avcert-el-hero .elementor-widget-container,
.avcert-el-hero .elementor-widget-text-editor,
.avcert-el-hero .elementor-widget-text-editor p{color:#fff!important}
.avcert-el-hero-title .elementor-heading-title,
.avcert-el-hero h1,
.avcert-el-hero h2{
  color:#fff!important;
  font-size:clamp(48px,7vw,86px)!important;
  line-height:.94!important;
  letter-spacing:-.06em!important;
  font-weight:950!important;
  text-shadow:0 18px 46px rgba(19,8,34,.22)!important
}
.avcert-el-lead,
.avcert-el-hero .avcert-el-lead p{
  max-width:820px!important;margin-top:10px!important;
  color:rgba(255,255,255,.84)!important;font-size:clamp(18px,2vw,22px)!important;line-height:1.65!important
}

.avcert-el-section{
  position:relative;
  background:#fff!important
}
.avcert-el-section>.elementor-container,
.avcert-el-section>.e-con-inner{
  position:relative;
  background:#fff;
  border:1px solid rgba(81,53,133,.10);
  border-radius:32px;
  box-shadow:var(--avcert-shadow-sm);
  padding:38px!important;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease
}
.avcert-el-section:hover>.elementor-container,
.avcert-el-section:hover>.e-con-inner{
  transform:translateY(-4px);
  box-shadow:var(--avcert-shadow);
  border-color:rgba(81,53,133,.18)
}
.avcert-el-alt{
  background:linear-gradient(180deg,#fbf9fe,#f5f0fb)!important
}
.avcert-el-alt>.elementor-container,
.avcert-el-alt>.e-con-inner{
  background:
    radial-gradient(circle at 95% 5%,rgba(155,122,224,.10),transparent 24%),
    #fff
}
.avcert-el-section-title .elementor-heading-title,
.avcert-el-section h2,
.avcert-el-section h3{
  color:var(--avcert-purple)!important;
  font-weight:900!important;
  letter-spacing:-.04em!important
}
.avcert-el-section-title .elementor-heading-title{
  font-size:clamp(32px,4vw,52px)!important;
  line-height:1.04!important
}
.avcert-el-copy,.avcert-el-copy p,.avcert-el-copy li,
.avcert-el-section .elementor-widget-text-editor{
  color:var(--avcert-muted)!important;
  font-size:17px!important;
  line-height:1.8!important
}
.avcert-el-copy ul{
  display:grid;gap:11px;margin:22px 0 0;padding-left:22px
}
.avcert-el-copy li::marker{color:var(--avcert-purple)}

.avcert-el-final{
  position:relative;overflow:hidden;isolation:isolate;
  color:#fff!important;
  background:
    radial-gradient(circle at 90% 10%,rgba(255,255,255,.16),transparent 24%),
    linear-gradient(135deg,#2f1d48,#6e4dae)!important
}
.avcert-el-final::after{
  content:"?";position:absolute;right:4%;top:-90px;z-index:0;
  font-size:300px;font-weight:950;line-height:1;color:rgba(255,255,255,.055)
}
.avcert-el-final>.elementor-container,.avcert-el-final>.e-con-inner{position:relative;z-index:2}
.avcert-el-final .elementor-heading-title,
.avcert-el-final h2,.avcert-el-final h3{color:#fff!important}
.avcert-el-final .elementor-widget-text-editor,
.avcert-el-final .elementor-widget-text-editor p{color:rgba(255,255,255,.84)!important}
.avcert-el-final .roster-epb-btn{
  background:#fff!important;color:var(--avcert-purple)!important;
  border:1px solid rgba(255,255,255,.7)!important;
  box-shadow:0 16px 40px rgba(23,11,42,.22)!important
}
.avcert-el-final .avcert-phone-btn{background:rgba(255,255,255,.1)!important}
.avcert-el-hero .avcert-inline-btn{margin-right:8px}

/* general content safety */
.avcert-article h1{color:var(--avcert-ink)}
.avcert-article .avcert-el-hero h1{color:#fff!important}
.avcert-article img{border-radius:26px;box-shadow:var(--avcert-shadow-sm)}
.avcert-article blockquote{
  margin:28px 0;padding:22px 26px;border:1px solid var(--avcert-line);
  border-left:4px solid var(--avcert-purple);border-radius:18px;background:#faf8fd;color:var(--avcert-muted)
}

/* animation */
@keyframes avcertFloat{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(-22px,18px) rotate(4deg)}}
@keyframes avcertDot{0%{box-shadow:0 0 0 0 rgba(98,215,146,.55)}70%{box-shadow:0 0 0 9px rgba(98,215,146,0)}100%{box-shadow:0 0 0 0 rgba(98,215,146,0)}}
@keyframes avcertShine{0%{left:-80px}38%,100%{left:115%}}
@keyframes avcertButtonPulse{
  0%,100%{box-shadow:0 16px 38px rgba(24,12,43,.22),0 0 0 0 rgba(255,255,255,.18)}
  50%{box-shadow:0 20px 46px rgba(24,12,43,.27),0 0 0 10px rgba(255,255,255,0)}
}

@media(max-width:900px){
  .avcert-grid{grid-template-columns:repeat(2,1fr)}
  .avcert-el-section>.elementor-container,.avcert-el-section>.e-con-inner{padding:30px!important}
}
@media(max-width:650px){
  .avcert-container{width:min(100% - 26px,1180px)}
  .avcert-archive-hero{padding:70px 0 82px}
  .avcert-grid,.avcert-language-grid{grid-template-columns:1fr}
  .avcert-actions{flex-direction:column}
  .avcert-main-btn,.avcert-outline-btn{width:100%}
  .avcert-language-card{grid-template-columns:auto 1fr;padding:24px}
  .avcert-language-card>b{display:none}
  .avcert-card{min-height:auto;padding:24px}
  .avcert-el-section>.elementor-container,.avcert-el-section>.e-con-inner{
    padding:24px!important;border-radius:24px
  }
  .avcert-el-hero .avcert-inline-btn,
  .avcert-el-hero .avcert-phone-btn,
  .avcert-el-final .roster-epb-btn,
  .avcert-el-final .avcert-phone-btn{
    width:100%;margin:6px 0!important
  }
}
@media(prefers-reduced-motion:reduce){
  .avcert-archive-hero::before,.avcert-kicker::before,.avcert-main-btn,.avcert-inline-btn,
  .avcert-main-btn::after,.avcert-inline-btn::after,.avcert-el-hero::before{
    animation:none!important
  }
}


/* ===== v1.2.0 content components ===== */
.avcert-hero-kicker,.avcert-section-kicker{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;
  font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase
}
.avcert-hero-kicker{color:#fff;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16)}
.avcert-section-kicker{color:var(--avcert-purple);background:#eee7f8;border:1px solid rgba(81,53,133,.08)}
.avcert-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.avcert-el-hero-media{margin-top:28px}
.avcert-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}
.avcert-media-grid:has(> :only-child){grid-template-columns:minmax(0,720px)}
.avcert-media-card{
  margin:0;overflow:hidden;border-radius:26px;border:1px solid rgba(255,255,255,.14);
  background:#fff;box-shadow:0 24px 65px rgba(22,10,39,.2)
}
.avcert-el-section .avcert-media-card{border-color:var(--avcert-line);box-shadow:var(--avcert-shadow-sm)}
.avcert-media-card img{display:block;width:100%;height:auto;border-radius:0!important;box-shadow:none!important}
.avcert-media-card figcaption{padding:12px 15px;background:#fff;color:#655a72;font-size:12px;font-weight:800}
.avcert-resource-card{
  min-height:150px;padding:22px;border-radius:24px;display:flex;flex-direction:column;justify-content:center;
  border:1px solid var(--avcert-line);background:linear-gradient(145deg,#fff,#f7f2fc);
  box-shadow:var(--avcert-shadow-sm);color:var(--avcert-ink)!important
}
.avcert-resource-card span{font-size:24px;color:var(--avcert-purple)}
.avcert-resource-card strong{display:block;margin:6px 0;color:var(--avcert-purple);font-size:18px}
.avcert-resource-card small{color:var(--avcert-muted)}
.avcert-highlight{
  margin:24px 0;padding:22px 24px;border:1px solid rgba(81,53,133,.13);
  border-radius:22px;background:linear-gradient(135deg,#f3edfb,#fff);
  color:#5d526a!important;box-shadow:0 12px 35px rgba(81,53,133,.07)
}
.avcert-highlight strong{color:var(--avcert-purple)}
.avcert-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}
.avcert-metric-grid.avcert-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.avcert-metric-grid>div{
  padding:22px;border-radius:23px;background:#fff;border:1px solid var(--avcert-line);box-shadow:var(--avcert-shadow-sm)
}
.avcert-metric-grid b{display:block;color:var(--avcert-purple);font-size:18px}
.avcert-metric-grid span{display:block;margin:7px 0;font-size:25px;font-weight:950;color:var(--avcert-ink)}
.avcert-metric-grid small{display:block;color:var(--avcert-muted);line-height:1.55}
.avcert-level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.avcert-level-grid.avcert-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.avcert-level-grid>div{
  padding:24px;border-radius:24px;border:1px solid var(--avcert-line);
  background:linear-gradient(145deg,#fff,#faf7fd);box-shadow:var(--avcert-shadow-sm)
}
.avcert-level-grid span{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eee7f8;color:var(--avcert-purple);font-size:11px;font-weight:900}
.avcert-level-grid b{display:block;margin:12px 0 6px;color:var(--avcert-purple);font-size:18px}
.avcert-level-grid p{margin:0!important;font-size:14px!important}
.avcert-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.avcert-step-grid>div{padding:22px;border-radius:24px;background:#fff;border:1px solid var(--avcert-line)}
.avcert-step-grid span{font-size:11px;font-weight:950;color:#aa93ce}
.avcert-step-grid b{display:block;margin:6px 0;color:var(--avcert-purple)}
.avcert-step-grid p{margin:0!important;font-size:14px!important}
.avcert-chip-row{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}
.avcert-chip-row span{padding:9px 12px;border-radius:999px;background:#eee7f8;color:var(--avcert-purple);font-size:13px;font-weight:900}
.avcert-special-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.avcert-special-grid>a{
  position:relative;display:block;padding:28px;border-radius:28px;border:1px solid var(--avcert-line);
  background:linear-gradient(145deg,#fff,#f8f4fc);color:var(--avcert-ink)!important;box-shadow:var(--avcert-shadow-sm);transition:.25s ease
}
.avcert-special-grid>a:hover{transform:translateY(-5px);box-shadow:var(--avcert-shadow)}
.avcert-special-grid span{font-size:11px;font-weight:900;color:#9c84c3;letter-spacing:.1em}
.avcert-special-grid h3{margin:8px 0!important;color:var(--avcert-purple)!important}
.avcert-special-grid b{display:block;margin-top:14px;color:var(--avcert-purple)}
.avcert-partner{
  display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;
  padding:26px;border-radius:28px;background:linear-gradient(135deg,#352151,#6f51ac);color:#fff
}
.avcert-partner h3{color:#fff!important;margin:5px 0!important}.avcert-partner p{color:rgba(255,255,255,.8)!important}
.avcert-partner>div:first-child>span{font-size:10px;font-weight:900;letter-spacing:.1em;color:rgba(255,255,255,.6)}
.avcert-metric{min-width:120px;padding:18px;border-radius:20px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);text-align:center}
.avcert-metric b{display:block;font-size:22px;color:#fff}.avcert-metric span{font-size:12px;color:rgba(255,255,255,.7)}
.avcert-score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.avcert-score-grid>div{padding:24px;border-radius:24px;background:#fff;border:1px solid var(--avcert-line);box-shadow:var(--avcert-shadow-sm)}
.avcert-score-grid>div>span{display:inline-grid;place-items:center;min-width:54px;height:38px;border-radius:12px;background:var(--avcert-purple);color:#fff;font-weight:950}
.avcert-table-wrap{overflow-x:auto;border:1px solid var(--avcert-line);border-radius:22px;box-shadow:var(--avcert-shadow-sm);margin:22px 0}
.avcert-table-wrap table{width:100%;border-collapse:collapse;background:#fff}
.avcert-table-wrap th,.avcert-table-wrap td{padding:12px 15px;border-bottom:1px solid #eee7f4;text-align:left}
.avcert-table-wrap th{background:#f4effa;color:var(--avcert-purple);font-weight:900}
.avcert-text-link{display:inline-flex;margin-top:8px;color:var(--avcert-purple)!important;font-weight:900;text-decoration:none!important}
.avcert-faq{display:grid;gap:12px;margin-top:22px}
.avcert-faq-item{border:1px solid var(--avcert-line);border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(81,53,133,.06);overflow:hidden}
.avcert-faq-item summary{list-style:none;cursor:pointer;padding:19px 21px;display:flex;justify-content:space-between;gap:20px;color:var(--avcert-purple);font-weight:900}
.avcert-faq-item summary::-webkit-details-marker{display:none}
.avcert-faq-item summary span{font-size:22px;line-height:1;transition:.2s ease}
.avcert-faq-item[open] summary span{transform:rotate(45deg)}
.avcert-faq-answer{padding:0 21px 20px;color:var(--avcert-muted);line-height:1.7}
.avcert-faq-answer p{margin:0!important}
@media(max-width:820px){
  .avcert-metric-grid,.avcert-level-grid,.avcert-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .avcert-partner{grid-template-columns:1fr 1fr}.avcert-partner>div:first-child{grid-column:1/-1}
}
@media(max-width:620px){
  .avcert-media-grid,.avcert-metric-grid,.avcert-metric-grid.avcert-two,.avcert-level-grid,.avcert-level-grid.avcert-two,
  .avcert-step-grid,.avcert-special-grid,.avcert-score-grid,.avcert-partner{grid-template-columns:1fr}
  .avcert-cta-row{flex-direction:column}.avcert-cta-row>a{width:100%}
}


/* v1.2.1 — certificate pages use their own full-width hero, no theme breadcrumbs */
body.avcert-page .breadcumb-wrapper,
body.avcert-page .breadcrumb-wrapper,
body.avcert-page .page-breadcrumb,
body.avcert-page .avcert-breadcrumbs{
  display:none!important;
}

/* Avoid residual spacing added by some themes around hidden breadcrumb headers */
body.avcert-page .breadcumb-wrapper + main,
body.avcert-page .breadcrumb-wrapper + main{
  margin-top:0!important;
}


/* ===== v1.2.2 — split hero + unified TELC ===== */
.avcert-el-hero-split>.elementor-container{
  display:flex!important;
  align-items:center!important;
  gap:54px!important;
}
.avcert-el-hero-split .avcert-hero-left,
.avcert-el-hero-split .avcert-hero-right{min-width:0}
.avcert-el-hero-split .avcert-hero-left>.elementor-widget-wrap,
.avcert-el-hero-split .avcert-hero-right>.elementor-widget-wrap{
  align-content:center;
}
.avcert-el-hero-split .avcert-el-hero-media{margin:0!important}
.avcert-el-hero-split .avcert-media-grid{grid-template-columns:1fr!important;margin:0}
.avcert-el-hero-split .avcert-media-card,
.avcert-el-hero-split .avcert-resource-card{
  transform:rotate(1.2deg);
  border-radius:30px;
  box-shadow:0 28px 85px rgba(20,9,38,.32);
  transition:transform .35s ease,box-shadow .35s ease
}
.avcert-el-hero-split .avcert-media-card:hover,
.avcert-el-hero-split .avcert-resource-card:hover{
  transform:rotate(0) translateY(-5px);
  box-shadow:0 36px 95px rgba(20,9,38,.38)
}
.avcert-el-hero-split .avcert-media-card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
.avcert-el-hero-split .avcert-resource-card{
  min-height:330px;
  padding:34px;
  justify-content:flex-end;
  background:
    radial-gradient(circle at 80% 15%,rgba(255,255,255,.16),transparent 24%),
    linear-gradient(145deg,#6e51ac,#3b2558);
  color:#fff!important;
  border-color:rgba(255,255,255,.18)
}
.avcert-el-hero-split .avcert-resource-card span{color:#fff;font-size:34px}
.avcert-el-hero-split .avcert-resource-card strong{color:#fff;font-size:24px;line-height:1.15}
.avcert-el-hero-split .avcert-resource-card small{color:rgba(255,255,255,.72);font-size:14px;line-height:1.5}

.avcert-anchor-nav{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:28px 0 4px;
}
.avcert-anchor-nav>a{
  position:relative;
  min-height:158px;
  padding:24px;
  border-radius:26px;
  border:1px solid rgba(81,53,133,.11);
  background:linear-gradient(145deg,#fff,#faf7fd);
  box-shadow:var(--avcert-shadow-sm);
  color:var(--avcert-ink)!important;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease
}
.avcert-anchor-nav>a:hover{
  transform:translateY(-5px);
  border-color:rgba(81,53,133,.24);
  box-shadow:var(--avcert-shadow)
}
.avcert-anchor-nav span{
  display:inline-grid;place-items:center;
  width:38px;height:38px;border-radius:12px;
  background:linear-gradient(135deg,var(--avcert-purple),var(--avcert-purple2));
  color:#fff;font-size:11px;font-weight:950;
  box-shadow:0 10px 25px rgba(81,53,133,.22)
}
.avcert-anchor-nav b{
  display:block;margin:16px 0 7px;
  color:var(--avcert-purple);font-size:19px;line-height:1.15
}
.avcert-anchor-nav small{display:block;color:var(--avcert-muted);line-height:1.45}

.avcert-section-intro{
  margin:0 0 26px;padding:24px 26px;
  border-radius:24px;border:1px solid var(--avcert-line);
  background:linear-gradient(135deg,#f4eefb,#fff)
}
.avcert-section-intro span{
  display:inline-flex;padding:6px 9px;border-radius:999px;
  background:var(--avcert-purple);color:#fff;
  font-size:10px;font-weight:900;letter-spacing:.09em
}
.avcert-section-intro p{margin:13px 0 0!important}

.avcert-feature-band{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;margin:26px 0;
  overflow:hidden;border-radius:23px;
  border:1px solid var(--avcert-line);
  background:var(--avcert-line)
}
.avcert-feature-band>div{padding:22px;background:#fff}
.avcert-feature-band b{display:block;color:var(--avcert-purple);font-size:19px}
.avcert-feature-band span{display:block;margin-top:4px;color:var(--avcert-muted);font-size:13px}

.avcert-benefit-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;margin:24px 0
}
.avcert-benefit-grid>div{
  padding:22px;border-radius:23px;
  border:1px solid var(--avcert-line);background:#fff;
  box-shadow:var(--avcert-shadow-sm)
}
.avcert-benefit-grid span{font-size:11px;color:#a68ecb;font-weight:950}
.avcert-benefit-grid b{display:block;margin:7px 0;color:var(--avcert-purple);font-size:18px}
.avcert-benefit-grid p{margin:0!important;font-size:14px!important}

.avcert-metric-grid.avcert-three{grid-template-columns:repeat(3,minmax(0,1fr))}

#telc-pregled,#telc-opsti,#telc-pflege,#telc-medizin,#telc-sta-dobijate{
  scroll-margin-top:110px;
}

@media(max-width:900px){
  .avcert-el-hero-split>.elementor-container{gap:30px!important}
  .avcert-anchor-nav,.avcert-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .avcert-el-hero-split>.elementor-container{display:block!important}
  .avcert-el-hero-split .avcert-hero-left,
  .avcert-el-hero-split .avcert-hero-right{width:100%!important;max-width:100%!important}
  .avcert-el-hero-split .avcert-hero-right{margin-top:32px}
  .avcert-el-hero-split .avcert-resource-card{min-height:220px}
  .avcert-anchor-nav,.avcert-feature-band,.avcert-benefit-grid,.avcert-metric-grid.avcert-three{grid-template-columns:1fr}
}


/* ===== v1.2.3 — compact certificate layout ===== */

/* Certificate pages should feel dense and editorial, not like oversized landing blocks. */
.avcert-el-section{
  padding-top:0!important;
  padding-bottom:0!important;
}
.avcert-el-section>.elementor-container,
.avcert-el-section>.e-con-inner{
  padding:28px 30px!important;
  border-radius:26px;
}
.avcert-el-section-title .elementor-heading-title{
  font-size:clamp(29px,3.25vw,43px)!important;
  margin-bottom:6px!important;
}
.avcert-el-copy,
.avcert-el-copy p,
.avcert-el-copy li,
.avcert-el-section .elementor-widget-text-editor{
  font-size:16px!important;
  line-height:1.68!important;
}
.avcert-el-copy p{margin-bottom:12px!important}
.avcert-el-copy ul,
.avcert-el-copy ol{margin-top:14px!important;margin-bottom:10px!important}
.avcert-el-copy li{margin-bottom:4px!important}

/* Split content sections: text left, small visual on the right. */
.avcert-el-section-split>.elementor-container{
  display:flex!important;
  align-items:center!important;
  gap:34px!important;
}
.avcert-el-section-split .avcert-content-left,
.avcert-el-section-split .avcert-content-right{min-width:0}
.avcert-el-section-split .avcert-content-right>.elementor-widget-wrap{
  align-content:center!important;
}
.avcert-el-side-media{margin:0!important}
.avcert-el-side-media .avcert-media-grid{
  display:block!important;
  margin:0!important;
}
.avcert-el-side-media .avcert-media-card,
.avcert-el-side-media .avcert-resource-card{
  width:min(100%,360px);
  margin-left:auto;
  border-radius:24px;
  box-shadow:0 18px 46px rgba(44,27,74,.15);
  transform:translateY(0) rotate(1deg);
  transition:transform .32s ease,box-shadow .32s ease;
}
.avcert-el-side-media .avcert-media-card:hover,
.avcert-el-side-media .avcert-resource-card:hover{
  transform:translateY(-5px) rotate(0);
  box-shadow:0 26px 58px rgba(44,27,74,.20);
}
.avcert-el-side-media .avcert-media-card img{
  width:100%;
  max-height:285px;
  aspect-ratio:4/3;
  object-fit:cover;
}
.avcert-el-side-media .avcert-resource-card{
  min-height:190px;
  padding:24px;
}

/* Hero: still 2 columns when there is media, but no oversized image/card. */
.avcert-el-hero-split>.elementor-container{
  gap:40px!important;
}
.avcert-el-hero-split .avcert-hero-left{width:62%!important}
.avcert-el-hero-split .avcert-hero-right{width:38%!important}
.avcert-el-hero-split .avcert-media-card,
.avcert-el-hero-split .avcert-resource-card{
  width:min(100%,390px);
  margin-left:auto;
  border-radius:27px;
}
.avcert-el-hero-split .avcert-media-card img{
  max-height:330px;
  aspect-ratio:4/3;
  object-fit:cover;
}
.avcert-el-hero-split .avcert-resource-card{
  min-height:245px;
  padding:28px;
}

/* Compact common components. */
.avcert-metric-grid,
.avcert-level-grid,
.avcert-step-grid,
.avcert-score-grid,
.avcert-special-grid,
.avcert-benefit-grid,
.avcert-anchor-nav{margin-top:16px!important;margin-bottom:16px!important;gap:11px!important}
.avcert-metric-grid>div,
.avcert-level-grid>div,
.avcert-step-grid>div,
.avcert-score-grid>div,
.avcert-benefit-grid>div{padding:17px 18px!important;border-radius:19px!important}
.avcert-highlight,
.avcert-section-intro{margin:16px 0!important;padding:17px 19px!important;border-radius:19px!important}
.avcert-feature-band{margin:17px 0!important}
.avcert-feature-band>div{padding:17px!important}
.avcert-faq{margin-top:14px!important}
.avcert-faq-item summary{padding:16px 18px!important}
.avcert-faq-answer{padding:0 18px 17px!important}

/* Current certificate is the only selectable course on certificate pages.
   If Avalon Registration exposes the course select normally, keep it visible
   but prevent the page from looking like a multi-course selector. */
body.avcert-page .avreg-page-config[data-avreg-lock-course="1"]{display:none!important}

/* Tiny entrance motion for side visuals only. */
@keyframes avcertSideIn{
  from{opacity:0;transform:translateX(18px) rotate(1.5deg)}
  to{opacity:1;transform:translateX(0) rotate(1deg)}
}
.avcert-el-side-media .avcert-media-card,
.avcert-el-side-media .avcert-resource-card,
.avcert-el-hero-split .avcert-media-card,
.avcert-el-hero-split .avcert-resource-card{
  animation:avcertSideIn .65s cubic-bezier(.2,.75,.25,1) both;
}

@media(max-width:900px){
  .avcert-el-section-split>.elementor-container{gap:24px!important}
  .avcert-el-side-media .avcert-media-card,
  .avcert-el-side-media .avcert-resource-card{width:min(100%,320px)}
}
@media(max-width:767px){
  .avcert-el-section-split>.elementor-container{display:block!important}
  .avcert-el-section-split .avcert-content-left,
  .avcert-el-section-split .avcert-content-right,
  .avcert-el-hero-split .avcert-hero-left,
  .avcert-el-hero-split .avcert-hero-right{
    width:100%!important;
    max-width:100%!important;
  }
  .avcert-el-section-split .avcert-content-right{margin-top:22px}
  .avcert-el-side-media .avcert-media-card,
  .avcert-el-side-media .avcert-resource-card,
  .avcert-el-hero-split .avcert-media-card,
  .avcert-el-hero-split .avcert-resource-card{
    width:100%;
    max-width:430px;
    margin:0 auto;
  }
  .avcert-el-section>.elementor-container,
  .avcert-el-section>.e-con-inner{padding:23px!important}
}
@media(prefers-reduced-motion:reduce){
  .avcert-el-side-media .avcert-media-card,
  .avcert-el-side-media .avcert-resource-card,
  .avcert-el-hero-split .avcert-media-card,
  .avcert-el-hero-split .avcert-resource-card{
    animation:none!important;
  }
}


/* ===== v1.2.4 — breathing room + no looping motion ===== */

/* Give every Elementor certificate section a visible rhythm again. */
.avcert-article .elementor-section.avcert-el-section,
.avcert-article .elementor-section.avcert-el-final{
  margin-top:18px!important;
  margin-bottom:18px!important;
}

.avcert-article .elementor-section.avcert-el-hero{
  margin-bottom:24px!important;
}

/* Keep alternate background bands from visually touching adjacent cards. */
.avcert-el-alt{
  padding-top:12px!important;
  padding-bottom:12px!important;
}

/* Cards should be compact, but clearly separated. */
.avcert-el-section>.elementor-container,
.avcert-el-section>.e-con-inner{
  box-shadow:0 14px 36px rgba(65,42,103,.08)!important;
}

.avcert-el-section:hover>.elementor-container,
.avcert-el-section:hover>.e-con-inner{
  transform:none!important;
  box-shadow:0 18px 42px rgba(65,42,103,.11)!important;
}

/* Slightly more air inside content without restoring huge empty areas. */
.avcert-el-section>.elementor-container,
.avcert-el-section>.e-con-inner{
  padding:30px 32px!important;
}

/* Remove all infinite looping animations on certificate pages.
   Only finite entrance animations and hover transitions remain. */
body.avcert-page .avcert-archive-hero::before,
body.avcert-page .avcert-kicker::before,
body.avcert-page .avcert-main-btn,
body.avcert-page .avcert-inline-btn,
body.avcert-page .avcert-main-btn::after,
body.avcert-page .avcert-inline-btn::after,
body.avcert-page .avcert-el-hero::before,
body.avcert-page .avcert-el-hero .roster-epb-btn,
body.avcert-page .avcert-el-hero .roster-epb-btn::after{
  animation:none!important;
}

/* Keep CTA visually alive through hover instead of looping pulse/shine. */
body.avcert-page .avcert-main-btn:hover,
body.avcert-page .avcert-inline-btn:hover,
body.avcert-page .avcert-el-hero .roster-epb-btn:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 18px 42px rgba(24,12,43,.24)!important;
}

/* The only motion left is a one-time side image entrance. */
body.avcert-page .avcert-el-side-media .avcert-media-card,
body.avcert-page .avcert-el-side-media .avcert-resource-card,
body.avcert-page .avcert-el-hero-split .avcert-media-card,
body.avcert-page .avcert-el-hero-split .avcert-resource-card{
  animation-duration:.45s!important;
  animation-iteration-count:1!important;
}

/* IELTS/test-center style full-width feature sections need a little more separation. */
.avcert-partner{
  margin-top:14px!important;
  margin-bottom:6px!important;
}

/* Final CTA should not glue itself to the previous card. */
.avcert-el-final{
  margin-top:26px!important;
}

/* Mobile: keep rhythm but not excessive height. */
@media(max-width:767px){
  .avcert-article .elementor-section.avcert-el-section,
  .avcert-article .elementor-section.avcert-el-final{
    margin-top:13px!important;
    margin-bottom:13px!important;
  }

  .avcert-el-section>.elementor-container,
  .avcert-el-section>.e-con-inner{
    padding:24px!important;
  }

  .avcert-article .elementor-section.avcert-el-hero{
    margin-bottom:18px!important;
  }
}
