.tde-portal-intro,
.tde-portal-intro * { box-sizing: border-box; }

.tde-portal-intro {
  --tde-red: #c9151e;
  --tde-hover-red: #e3313b;
  --tde-black: #101010;
  --tde-muted: #625f5c;
  --tde-line: #e5e1dd;
  width: 100%;
  background: #fff;
  color: var(--tde-black);
  font-family: inherit;
  overflow: visible;
}

.tde-portal-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 94px) 24px clamp(38px, 5vw, 66px);
  text-align: center;
}

.tde-portal-eyebrow {
  color: var(--tde-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tde-portal-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 20px auto 24px;
  background: var(--tde-red);
}

.tde-portal-copy h2 {
  max-width: 980px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", Cormorant, Georgia, serif;
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.tde-portal-copy p {
  max-width: 740px;
  margin: 20px auto 0;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--tde-muted);
  line-height: 1.65;
  text-wrap: balance;
}

/* Full-browser-width hero image, even when shortcode sits inside an Elementor container. */
.tde-portal-banner {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  min-height: clamp(300px, 39vw, 610px);
  margin-left: -50vw;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: none;
  overflow: hidden;
}

.tde-portal-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.16));
}

.tde-portal-cards {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 66px) 0 clamp(34px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tde-portal-card {
  position: relative;
  min-height: 260px;
  padding: 32px 24px 24px;
  border: 1px solid var(--tde-line);
  border-radius: 14px;
  background: #fff;
  color: var(--tde-black);
  text-decoration: none !important;
  display: grid;
  grid-template-rows: 48px 14px 38px minmax(70px, auto) 30px;
  align-items: center;
  justify-items: center;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.045);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}

.tde-portal-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--tde-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.tde-portal-card:hover,
.tde-portal-card:focus-visible {
  transform: translateY(-5px);
  border-color: #d7d1cc;
  box-shadow: 0 18px 42px rgba(0,0,0,.10);
  color: var(--tde-black);
}
.tde-portal-card:hover::before,
.tde-portal-card:focus-visible::before { transform: scaleX(1); }

.tde-card-icon {
  width: 42px;
  height: 42px;
  color: var(--tde-black);
  transition: color .22s ease, transform .22s ease;
}
.tde-portal-card:hover .tde-card-icon,
.tde-portal-card:focus-visible .tde-card-icon { color: var(--tde-red); transform: translateY(-1px); }
.tde-card-icon svg,
.tde-tip-icon svg { width: 100%; height: 100%; display: block; }

.tde-card-accent {
  width: 34px;
  height: 2px;
  background: var(--tde-red);
}

.tde-card-title {
  font-family: "Cormorant Garamond", Cormorant, Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

.tde-card-copy {
  max-width: 230px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tde-muted);
}

.tde-card-arrow {
  color: var(--tde-red);
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transition: transform .22s ease;
}
.tde-portal-card:hover .tde-card-arrow,
.tde-portal-card:focus-visible .tde-card-arrow { transform: translateX(4px); }

.tde-portal-tip {
  width: min(1120px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto clamp(42px, 6vw, 78px);
  padding: 18px 26px;
  border: 1px solid #e6e0db;
  border-radius: 12px;
  background: #f7f4f1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.tde-tip-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--tde-red);
}

.tde-portal-tip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #393633;
}

.tde-portal-tip strong {
  color: var(--tde-red);
  font-weight: 700;
  letter-spacing: .05em;
}

@media (max-width: 900px) {
  .tde-portal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tde-portal-copy h2 { font-size: clamp(46px, 8vw, 64px); }
}

@media (max-width: 600px) {
  .tde-portal-copy { padding: 42px 18px 34px; }
  .tde-portal-eyebrow { letter-spacing: .18em; font-size: 10px; }
  .tde-portal-rule { margin: 15px auto 18px; }
  .tde-portal-copy h2 { font-size: clamp(38px, 12vw, 49px); line-height: 1; }
  .tde-portal-copy p { margin-top: 15px; font-size: 15px; line-height: 1.55; }
  .tde-portal-banner { min-height: clamp(250px, 76vw, 410px); background-position: center center; }
  .tde-portal-cards {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .tde-portal-card {
    min-height: 0;
    padding: 18px 18px;
    border-radius: 11px;
    grid-template-columns: 38px 1fr 26px;
    grid-template-rows: auto auto;
    column-gap: 14px;
    justify-items: start;
    text-align: left;
  }
  .tde-card-icon { width: 34px; height: 34px; grid-row: 1 / 3; }
  .tde-card-accent { display: none; }
  .tde-card-title { grid-column: 2; font-size: 23px; align-self: end; }
  .tde-card-copy { grid-column: 2; max-width: none; font-size: 12.5px; line-height: 1.45; align-self: start; }
  .tde-card-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 23px; }
  .tde-portal-tip { width: calc(100% - 28px); margin-bottom: 42px; padding: 15px 17px; align-items: flex-start; }
  .tde-portal-tip p { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .tde-portal-card,
  .tde-portal-card::before,
  .tde-card-icon,
  .tde-card-arrow { transition: none; }
}

/* v1.2.0: five-card portal tools + compact at-a-glance row */
.tde-portal-cards{
  width:min(1320px,calc(100% - 48px));
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
button.tde-portal-card{
  width:100%;
  font:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.tde-portal-card-communications{
  grid-template-rows:48px 14px 38px auto auto 30px;
}
.tde-card-badge{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  border-radius:6px;
  background:var(--tde-red);
  color:#fff;
  padding:5px 8px;
  font-size:10px;
  font-weight:800;
  line-height:1;
  letter-spacing:.03em;
}
.tde-card-latest{
  width:100%;
  max-width:210px;
  margin:0 auto;
  padding:7px 8px;
  border-radius:7px;
  background:#f7f4f1;
  color:#5e5751;
  font-size:10.5px;
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tde-portal-glance{
  width:min(1220px,calc(100% - 48px));
  margin:0 auto clamp(42px,6vw,72px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.tde-glance-block{min-width:0}
.tde-glance-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 12px;
  padding:0 2px 10px;
  border-bottom:1px solid #e8e3df;
}
.tde-glance-heading h3{
  position:relative;
  margin:0!important;
  padding-bottom:7px;
  font-family:"Cormorant Garamond",Cormorant,Georgia,serif!important;
  font-size:30px!important;
  font-weight:600!important;
  line-height:1!important;
  color:#111!important;
}
.tde-glance-heading h3:after{
  content:"";
  position:absolute;
  left:0;
  bottom:-11px;
  width:52px;
  height:2px;
  background:var(--tde-red);
}
.tde-glance-heading a,
.tde-glance-heading button{
  border:0;
  padding:0;
  background:none;
  color:var(--tde-red)!important;
  font:700 11px/1.2 inherit;
  text-decoration:none!important;
  cursor:pointer;
  white-space:nowrap;
}
.tde-glance-card{
  width:100%;
  min-height:128px;
  display:flex;
  align-items:center;
  gap:20px;
  padding:18px 20px;
  border:1px solid #e5e1dd;
  border-radius:12px;
  background:#fff;
  color:#111!important;
  text-decoration:none!important;
  box-shadow:0 7px 24px rgba(0,0,0,.04);
  text-align:left;
}
button.tde-glance-card{
  font:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.tde-glance-card:hover,
.tde-glance-card:focus-visible{border-color:#d5cec8;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.tde-glance-date{
  width:78px;
  min-width:78px;
  min-height:88px;
  border-right:1px solid #e8e3df;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding-right:18px;
}
.tde-glance-date b{color:var(--tde-red);font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.04em}
.tde-glance-date strong{font-family:"Cormorant Garamond",Cormorant,Georgia,serif;font-size:43px;line-height:.95;font-weight:600}
.tde-glance-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.tde-glance-copy>strong{font-size:16px;line-height:1.25;color:#111}
.tde-glance-copy>span{color:#666;font-size:12.5px;line-height:1.35}
.tde-glance-copy>small{margin-top:3px;color:#8a847f;font-size:11px;line-height:1.35}
.tde-announcement-mark{
  width:82px;
  min-width:82px;
  height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#f7f1ef;
  color:var(--tde-red);
  font-size:31px;
}
.tde-announcement-card .tde-glance-copy>span{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tde-glance-empty{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;color:#777!important}
.tde-glance-empty strong{color:#333}

@media(max-width:1120px){
  .tde-portal-cards{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:900px){
  .tde-portal-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tde-portal-glance{grid-template-columns:1fr;gap:24px}
}
@media(max-width:600px){
  .tde-portal-card-communications{grid-template-columns:38px 1fr 26px;grid-template-rows:auto auto auto}
  .tde-portal-card-communications .tde-card-icon{grid-row:1/4}
  .tde-portal-card-communications .tde-card-title{grid-column:2;grid-row:1}
  .tde-portal-card-communications .tde-card-copy{grid-column:2;grid-row:2}
  .tde-portal-card-communications .tde-card-latest{grid-column:2;grid-row:3;max-width:none;margin:5px 0 0;padding:6px 7px}
  .tde-portal-card-communications .tde-card-arrow{grid-column:3;grid-row:1/4}
  .tde-card-badge{top:8px;right:8px;font-size:9px}
  .tde-portal-glance{width:calc(100% - 28px);margin-bottom:42px}
  .tde-glance-heading h3{font-size:26px!important}
  .tde-glance-card{min-height:108px;padding:14px 13px;gap:13px}
  .tde-glance-date{width:59px;min-width:59px;min-height:74px;padding-right:12px}
  .tde-glance-date strong{font-size:34px}
  .tde-announcement-mark{width:62px;min-width:62px;height:62px;font-size:25px}
  .tde-glance-copy>strong{font-size:14px}
  .tde-glance-copy>span{font-size:11.5px}
}


/* v1.2.2: genuinely widen the five-card portal row.
   The shortcode often sits inside a narrower Elementor container, so the cards break out
   toward the viewport while still leaving comfortable page margins. */
@media (min-width: 901px) {
  .elementor-widget-shortcode:has(.tde-portal-intro),
  .elementor-widget-shortcode:has(.tde-portal-intro) > .elementor-widget-container,
  .elementor-widget-container:has(> .tde-portal-intro) {
    overflow: visible !important;
  }

  .tde-portal-cards,
  .tde-portal-glance {
    position: relative;
    left: 50%;
    width: min(88vw, 1560px) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%);
  }

  .tde-portal-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(16px, 1.45vw, 24px);
  }

  .tde-portal-card {
    min-width: 0;
    min-height: 270px;
    padding-left: clamp(18px, 1.55vw, 26px);
    padding-right: clamp(18px, 1.55vw, 26px);
  }

  .tde-card-title {
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-align: center;
  }

  .tde-portal-card-communications .tde-card-title {
    font-size: 23px;
    line-height: 1.02;
  }

  .tde-card-copy,
  .tde-card-latest {
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .tde-portal-cards,
  .tde-portal-glance {
    width: 94vw !important;
  }
  .tde-portal-cards { gap: 12px; }
  .tde-card-title { font-size: 21px; }
  .tde-portal-card-communications .tde-card-title { font-size: 20px; }
  .tde-card-copy { font-size: 12.5px; }
}


/* v1.2.4: keep Upcoming Events and Recent Announcements visually matched
   and keep decorative portal background graphics behind, never through, the cards. */
.tde-portal-glance{align-items:stretch!important;position:relative!important;z-index:5!important;isolation:isolate!important}
.tde-glance-block{display:grid!important;grid-template-rows:auto 1fr!important;min-width:0!important;position:relative!important;z-index:6!important}
.tde-glance-card{
  height:100%!important;min-height:142px!important;position:relative!important;z-index:8!important;overflow:hidden!important;
  background:#fff!important;background-color:#fff!important;isolation:isolate!important
}
.tde-glance-card::before,.tde-glance-card::after{pointer-events:none!important}
@media(max-width:760px){.tde-glance-card{height:auto!important;min-height:120px!important}}

/* v1.2.5 Company Portal card alignment + stacking cleanup.
   Announcement cards mirror Upcoming Events and decorative stars always stay behind content. */
.tde-portal-intro{
  position:relative!important;
  isolation:isolate!important;
}
.tde-portal-intro .tde-portal-cards,
.tde-portal-intro .tde-portal-glance{
  position:relative!important;
  z-index:20!important;
  isolation:isolate!important;
}
.tde-portal-intro .tde-portal-card,
.tde-portal-intro .tde-glance-card,
.tde-portal-intro .tde-glance-heading{
  position:relative!important;
  z-index:30!important;
}
.tde-portal-intro .tde-portal-card,
.tde-portal-intro .tde-glance-card{
  background:#fff!important;
  background-color:#fff!important;
  isolation:isolate!important;
  overflow:hidden!important;
  transform:translateZ(0);
}
.tde-portal-intro .tde-glance-heading{
  background:#fff!important;
}
.tde-announcement-card{
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:20px!important;
  text-align:left!important;
}
.tde-announcement-card .tde-announcement-mark{
  grid-column:1!important;
  width:78px!important;
  min-width:78px!important;
  height:88px!important;
  align-self:center!important;
  justify-self:start!important;
  margin:0!important;
}
.tde-announcement-card .tde-glance-copy{
  grid-column:2!important;
  min-width:0!important;
  align-self:center!important;
  justify-content:center!important;
  align-items:flex-start!important;
  text-align:left!important;
  width:100%!important;
}
.tde-announcement-card .tde-glance-copy>strong,
.tde-announcement-card .tde-glance-copy>span,
.tde-announcement-card .tde-glance-copy>small{
  width:100%!important;
  text-align:left!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:600px){
  .tde-announcement-card{
    grid-template-columns:62px minmax(0,1fr)!important;
    column-gap:13px!important;
  }
  .tde-announcement-card .tde-announcement-mark{
    width:62px!important;
    min-width:62px!important;
    height:62px!important;
  }
}


/* v1.2.7 mobile QA: Studio Communications is a <button>, so theme button rules can
   override the grid used by the sibling <a> cards. Reset the button itself and force
   the exact same mobile card geometry. On phones the useful Latest line replaces the
   generic description so the card stays the same compact height as the other links. */
button.tde-portal-card.tde-portal-card-communications{
  color:var(--tde-black)!important;
  background:#fff!important;
  border:1px solid var(--tde-line)!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  line-height:normal!important;
}
button.tde-portal-card.tde-portal-card-communications .tde-card-title{color:var(--tde-black)!important}
button.tde-portal-card.tde-portal-card-communications .tde-card-copy{color:var(--tde-muted)!important}
button.tde-portal-card.tde-portal-card-communications .tde-card-latest{color:#5e5751!important}
@media(max-width:600px){
  button.tde-portal-card.tde-portal-card-communications{
    display:grid!important;
    position:relative!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:22px 18px!important;
    grid-template-columns:38px minmax(0,1fr) 26px!important;
    grid-template-rows:auto auto!important;
    column-gap:14px!important;
    row-gap:2px!important;
    align-items:center!important;
    justify-items:start!important;
    text-align:left!important;
    overflow:hidden!important;
  }
  button.tde-portal-card.tde-portal-card-communications .tde-card-icon{
    display:block!important;
    grid-column:1!important;
    grid-row:1/3!important;
    align-self:center!important;
    justify-self:start!important;
    margin:0!important;
  }
  button.tde-portal-card.tde-portal-card-communications .tde-card-accent{display:none!important}
  button.tde-portal-card.tde-portal-card-communications .tde-card-title{
    display:block!important;
    grid-column:2!important;
    grid-row:1!important;
    align-self:end!important;
    justify-self:stretch!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    font-size:23px!important;
    line-height:1.05!important;
    text-align:left!important;
    color:var(--tde-black)!important;
  }
  button.tde-portal-card.tde-portal-card-communications .tde-card-copy{display:none!important}
  button.tde-portal-card.tde-portal-card-communications .tde-card-latest{
    display:block!important;
    grid-column:2!important;
    grid-row:2!important;
    align-self:start!important;
    justify-self:stretch!important;
    width:100%!important;
    max-width:none!important;
    margin:2px 0 0!important;
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    font-size:12.5px!important;
    line-height:1.45!important;
    text-align:left!important;
    color:var(--tde-muted)!important;
    -webkit-line-clamp:2!important;
  }
  button.tde-portal-card.tde-portal-card-communications .tde-card-arrow{
    display:block!important;
    grid-column:3!important;
    grid-row:1/3!important;
    align-self:center!important;
    justify-self:center!important;
    margin:0!important;
    padding:0!important;
    color:var(--tde-red)!important;
    font-size:23px!important;
    line-height:1!important;
  }
  button.tde-portal-card.tde-portal-card-communications .tde-card-badge{
    top:8px!important;
    right:10px!important;
    margin:0!important;
    font-size:9px!important;
  }
}


/* v1.2.8 Recent Announcements rotator: same footprint as the old static card. */
.tde-announcement-count{display:inline-flex!important;margin-left:9px;padding:3px 7px;border-radius:999px;background:#fff1f2;color:var(--tde-red);font-family:inherit!important;font-size:9px!important;font-weight:800!important;line-height:1!important;vertical-align:middle;white-space:nowrap}
.tde-announcement-rotator{display:block!important;position:relative!important;padding:0!important;min-height:142px!important;height:100%!important;overflow:hidden!important}
.tde-announcement-track{position:absolute;inset:0 0 0 0;overflow:hidden}
.tde-announcement-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:center!important;column-gap:20px!important;padding:18px 20px 28px!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#111!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;text-align:left!important;font:inherit!important;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px) scale(.995);transition:opacity .38s ease,transform .38s ease,visibility 0s linear .38s;pointer-events:none}
.tde-announcement-slide.is-active{opacity:1;visibility:visible;transform:translateY(0) scale(1);transition-delay:0s;pointer-events:auto}
.tde-announcement-slide:hover,.tde-announcement-slide:focus-visible{background:#fff!important;color:#111!important;outline:none}
.tde-announcement-slide .tde-announcement-mark{grid-column:1!important;width:78px!important;min-width:78px!important;height:88px!important;margin:0!important;align-self:center!important;justify-self:start!important}
.tde-announcement-slide .tde-glance-copy{grid-column:2!important;min-width:0!important;align-self:center!important;width:100%!important;text-align:left!important}
.tde-announcement-slide .tde-glance-copy>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tde-announcement-dots{position:absolute;z-index:8;right:14px;bottom:10px;display:flex;align-items:center;gap:5px}
.tde-announcement-dots button{width:6px!important;height:6px!important;min-width:6px!important;min-height:6px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#cfc8c3!important;box-shadow:none!important;cursor:pointer;transition:transform .2s ease,background .2s ease}
.tde-announcement-dots button.is-active{background:var(--tde-red)!important;transform:scale(1.25)}
@media(max-width:760px){
  .tde-announcement-count{display:none!important}
  .tde-announcement-rotator{min-height:120px!important;height:120px!important}
  .tde-announcement-slide{grid-template-columns:62px minmax(0,1fr)!important;column-gap:13px!important;padding:14px 13px 26px!important}
  .tde-announcement-slide .tde-announcement-mark{width:62px!important;min-width:62px!important;height:62px!important}
  .tde-announcement-dots{right:10px;bottom:8px}
}
@media(prefers-reduced-motion:reduce){.tde-announcement-slide{transition:none!important;transform:none!important}}

/* v1.2.9: Keep the rotating announcement preview inside its fixed dashboard footprint.
   The full announcement is still available by clicking the card. */
.tde-announcement-rotator .tde-glance-copy>span{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
}
.tde-announcement-rotator .tde-glance-copy>small{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* v1.3.0 Upcoming Events: next five true events rotate in the existing compact card. */
.tde-upcoming-rotator{display:block!important;position:relative!important;padding:0!important;min-height:142px!important;height:100%!important;overflow:hidden!important}
.tde-upcoming-track{position:absolute;inset:0;overflow:hidden}
.tde-upcoming-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:center!important;column-gap:20px!important;padding:18px 20px 28px!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#111!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;text-align:left!important;font:inherit!important;opacity:0;visibility:hidden;transform:translateY(10px) scale(.995);transition:opacity .38s ease,transform .38s ease,visibility 0s linear .38s;pointer-events:none}
.tde-upcoming-slide.is-active{opacity:1;visibility:visible;transform:translateY(0) scale(1);transition-delay:0s;pointer-events:auto}
.tde-upcoming-slide:hover,.tde-upcoming-slide:focus-visible{background:#fff!important;color:#111!important;outline:none}
.tde-upcoming-slide .tde-glance-date{grid-column:1!important;align-self:center!important;justify-self:start!important;margin:0!important}
.tde-upcoming-slide .tde-glance-copy{grid-column:2!important;min-width:0!important;align-self:center!important;width:100%!important;text-align:left!important}
.tde-upcoming-slide .tde-glance-copy>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tde-upcoming-slide .tde-glance-copy>span,.tde-upcoming-slide .tde-glance-copy>small{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tde-upcoming-dots{position:absolute;z-index:8;right:14px;bottom:10px;display:flex;align-items:center;gap:5px}
.tde-upcoming-dots button{width:6px!important;height:6px!important;min-width:6px!important;min-height:6px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#cfc8c3!important;box-shadow:none!important;cursor:pointer;transition:transform .2s ease,background .2s ease}
.tde-upcoming-dots button.is-active{background:var(--tde-red)!important;transform:scale(1.25)}
@media(max-width:760px){.tde-upcoming-rotator{min-height:120px!important;height:120px!important}.tde-upcoming-slide{grid-template-columns:62px minmax(0,1fr)!important;column-gap:13px!important;padding:14px 13px 26px!important}.tde-upcoming-dots{right:10px;bottom:8px}}
@media(prefers-reduced-motion:reduce){.tde-upcoming-slide{transition:none!important;transform:none!important}}
.tde-upcoming-count{display:inline-flex!important;margin-left:9px;padding:3px 7px;border-radius:999px;background:#fff1f2;color:var(--tde-red);font-family:inherit!important;font-size:9px!important;font-weight:800!important;line-height:1!important;vertical-align:middle;white-space:nowrap}
@media(max-width:760px){.tde-upcoming-count{display:none!important}}

/* v1.4.2: During app development, keep the private-preview entry intentionally
   low-key and out of the primary portal cards. JS parks it immediately after
   Competitions & Conventions so families do not mistake it for a launched tool. */
.tde-app-preview-link-wrap{
  width:min(1120px,calc(100% - 48px));
  margin:28px auto 44px;
}
.tde-app-preview-link{
  width:100%;
  min-height:72px;
  padding:14px 18px;
  border:1px solid #ded9d4;
  border-radius:10px;
  background:#fff;
  color:#101010!important;
  text-decoration:none!important;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 28px;
  gap:14px;
  align-items:center;
  box-shadow:0 6px 18px rgba(0,0,0,.035);
}
.tde-app-preview-link:hover,.tde-app-preview-link:focus-visible{
  border-color:#c9151e;
  box-shadow:0 10px 24px rgba(0,0,0,.07);
}
.tde-app-preview-link-icon{width:34px;height:34px;color:#c9151e;display:block}
.tde-app-preview-link-icon svg{width:100%;height:100%;display:block}
.tde-app-preview-link>span:nth-child(2){min-width:0;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:baseline}
.tde-app-preview-link small{grid-column:1/-1;color:#8a8580;font-size:9px;font-weight:800;letter-spacing:.18em;line-height:1.2}
.tde-app-preview-link strong{font-family:"Cormorant Garamond",Cormorant,Georgia,serif;font-size:23px;line-height:1.1}
.tde-app-preview-link em{font-style:normal;color:#77716c;font-size:13px;line-height:1.35}
.tde-app-preview-link>b{color:#c9151e;font-size:23px;font-weight:400;text-align:right}
@media(max-width:600px){
  .tde-app-preview-link-wrap{width:calc(100% - 32px);margin:22px auto 34px}
  .tde-app-preview-link{min-height:64px;padding:12px 14px;grid-template-columns:34px minmax(0,1fr) 22px;gap:10px;border-radius:8px}
  .tde-app-preview-link-icon{width:29px;height:29px}
  .tde-app-preview-link>span:nth-child(2){display:block}
  .tde-app-preview-link small,.tde-app-preview-link strong,.tde-app-preview-link em{display:block}
  .tde-app-preview-link strong{font-size:21px;margin-top:2px}
  .tde-app-preview-link em{font-size:12px;margin-top:2px}
}
