/* CCA Calendario Avvento 1.0.28 — solo la terza banda, nessuna modifica alle altre */
.cca-homebands [data-cca-original-strisce][hidden],
.cca-homebands .cca-avvento[hidden],
.cca-homebands .cca-avvento__overlay[hidden],
.cca-homebands .cca-avvento__greeting[hidden] {display:none!important}
.cca-homebands .cca-avvento {font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#3b332f;width:100%;margin:0 auto 2px;padding:12px 12px 10px;border:1px solid #e7dcc9;border-radius:8px;background:linear-gradient(115deg,#fffdfa,#f7f0e5)}
.cca-homebands .cca-avvento__days {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px;max-width:100%;margin:0}
.cca-homebands .cca-avvento__day {aspect-ratio:1.04;min-width:0;min-height:0;border:1px solid #d5c3a7;border-radius:7px;background:#fffdf9;color:#842c39;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;position:relative;cursor:pointer;box-shadow:inset 0 0 0 2px #fff7ec;font:inherit;transition:background .15s,transform .15s}
.cca-homebands .cca-avvento__day:before{content:'';position:absolute;inset:4px;border:1px dashed #e2d5bf;border-radius:4px;pointer-events:none}
.cca-homebands .cca-avvento__day-num{font:700 clamp(15px,2.1vw,25px)/1.08 Georgia,serif;position:relative}
.cca-homebands .cca-avvento__day-mark{font-size:10px;line-height:1.2;color:#b29262;position:relative}
.cca-homebands .cca-avvento__day--locked{background:#f0ede7;color:#9e988f;opacity:.72;cursor:not-allowed;box-shadow:none}
.cca-homebands .cca-avvento__day--today{background:#842c39;color:#fff;border-color:#842c39}
.cca-homebands .cca-avvento__day--today .cca-avvento__day-mark{color:#f3d9a1}
.cca-homebands .cca-avvento__day--today:before{border-color:#b66c73}
.cca-homebands .cca-avvento__day--available:hover,.cca-homebands .cca-avvento__day--available:focus-visible {background:#fff1d9;transform:translateY(-2px);outline:2px solid #a87b45;outline-offset:1px}
.cca-homebands .cca-avvento__day--today:hover,.cca-homebands .cca-avvento__day--today:focus-visible{background:#6c2531;color:#fff}
.cca-homebands .cca-avvento__hint{font-size:11px;color:#786956;margin:9px 0 1px;text-align:center}
.cca-homebands .cca-avvento__greeting{text-align:center;padding:8px;font:normal 16px Georgia,serif;color:#842c39;background:#f4e3ba;border-radius:5px;margin:9px 0 0}
.cca-avvento-modal-open{overflow:hidden!important}
.cca-homebands .cca-avvento__overlay{position:fixed;inset:0;z-index:10050;background:rgba(19,23,20,.78);display:grid;place-items:center;padding:16px;box-sizing:border-box}
.cca-homebands .cca-avvento__dialog{position:relative;isolation:isolate;width:min(100%,550px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:30px 24px 20px;text-align:center;background:#fffaf0;border:1px solid #d0af81;border-radius:17px;box-shadow:0 24px 65px #0005;color:#302d2b}
.cca-homebands .cca-avvento__dialog:before{content:'';height:7px;position:absolute;top:0;left:0;right:0;border-radius:17px 17px 0 0;background:linear-gradient(90deg,#842c39 0 33.33%,#bf9655 33.33% 66.66%,#245b53 66.66%)}
.cca-homebands .cca-avvento__close{position:absolute;top:15px;right:13px;border:1px solid #ddc9b0;border-radius:50%;width:35px;height:35px;background:#fff;color:#5a473e;font:26px/1 Georgia,serif;cursor:pointer}
.cca-homebands .cca-avvento__kicker{color:#866447;font-size:10px;letter-spacing:.13em;font-weight:800}
.cca-homebands .cca-avvento__date{margin:8px 0 0;color:#842c39;font:normal 30px Georgia,serif}
.cca-homebands .cca-avvento__drawing{margin:8px auto 4px;max-width:360px;width:100%;height:220px;display:grid;place-items:center}
.cca-homebands .cca-avvento__drawing svg{max-width:100%;max-height:100%;height:100%;width:100%}
.cca-homebands .cca-avvento__quote{font:normal clamp(17px,3vw,23px)/1.43 Georgia,serif;max-width:440px;margin:8px auto 12px;color:#342f2b}
.cca-homebands .cca-avvento__quote:before{content:'“';color:#b69b6b}.cca-homebands .cca-avvento__quote:after{content:'”';color:#b69b6b}
.cca-homebands .cca-avvento__credit{font-size:11px;color:#8f7e68;margin:10px auto 16px}
.cca-homebands .cca-avvento__navigation{display:flex;justify-content:center;align-items:center;gap:12px;border-top:1px solid #e3d8c8;padding-top:13px}
.cca-homebands .cca-avvento__navigation button{border:1px solid #d6bea0;border-radius:8px;background:#fff;color:#842c39;font-size:12px;padding:9px 11px;font-weight:650;cursor:pointer}
.cca-homebands .cca-avvento__navigation button:disabled{opacity:.35;cursor:not-allowed}
.cca-homebands .cca-avvento__navigation button:not(:disabled):hover,.cca-homebands .cca-avvento__navigation button:not(:disabled):focus-visible,.cca-homebands .cca-avvento__close:focus-visible{background:#f8e9d8;outline:2px solid #bf9655}
.cca-homebands .cca-avvento__navigation span{font-size:11px;color:#8c7c6b;min-width:42px}
@media (max-width:760px){.cca-homebands .cca-avvento__days{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.cca-homebands .cca-avvento__day-num{font-size:22px}}
@media (max-width:430px){.cca-homebands .cca-avvento{padding:9px 7px}.cca-homebands .cca-avvento__days{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.cca-homebands .cca-avvento__day-num{font-size:22px}.cca-homebands .cca-avvento__dialog{padding:29px 14px 14px}.cca-homebands .cca-avvento__drawing{height:170px}.cca-homebands .cca-avvento__navigation{gap:7px}.cca-homebands .cca-avvento__navigation button{padding:8px 7px}}
@media (prefers-reduced-motion:reduce){.cca-homebands .cca-avvento__day{transition:none!important}}


/* Calendario natalizio Antonianum 1.0.30: decorazioni ispirate alla
   grafica approvata. Isolato nella terza banda. */
.cca-homebands .cca-avvento {
  font-family:Georgia,serif;
  padding:12px 13px 8px;
  background:linear-gradient(112deg,#fff8eb 0%,#fffdf7 55%,#fff5e3 100%);
  border:1px solid #d5ab61;
  border-radius:12px;
  box-shadow:inset 0 0 0 2px #fffdf6, 0 2px 6px rgba(117,78,35,.08);
}
.cca-homebands .cca-avvento__layout {
  display:grid;
  grid-template-columns: minmax(138px, 185px) minmax(0,1fr);
  gap:13px;
  width:100%; align-items:center;
}
.cca-homebands .cca-avvento__intro {
  border-right:1px solid #dfc79c;
  padding:5px 13px 5px 4px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  color:#73303b;min-width:0;
}
.cca-homebands .cca-avvento__holly {font:normal 27px/1 Georgia,serif;color:#2c6548;letter-spacing:1px;}
.cca-homebands .cca-avvento__heading {
  display:block;font:normal clamp(17px,2.4vw,27px)/1.07 Georgia,serif;
  font-variant:normal; color:#7b2633;letter-spacing:-.3px;
}
.cca-homebands .cca-avvento__divider {color:#b48b43;font:normal 17px/1.35 Georgia,serif;}
.cca-homebands .cca-avvento__tagline {
  color:#355741;font:italic clamp(11px,1.35vw,15px)/1.25 Georgia,serif;
}
.cca-homebands .cca-avvento__days {grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;align-self:stretch;}
.cca-homebands .cca-avvento__day {
  width:100%;min-width:0;box-sizing:border-box;aspect-ratio: .99;
  padding:2px 1px;border-radius:7px;
  background:linear-gradient(145deg,#fffefb 5%,#fdf1dd 100%);
  color:#832b38;border:1px solid #cf9f63;
  box-shadow:inset 0 0 0 2px #fff6e8,0 1px 3px #8c674427;
  gap:0;overflow:hidden;
}
.cca-homebands .cca-avvento__day:before {inset:3px;border:1px dotted #e8cfa9;border-radius:4px;}
.cca-homebands .cca-avvento__day-num {font:700 clamp(13px,1.75vw,22px)/1.12 Georgia,serif;}
.cca-homebands .cca-avvento__day-mark {
  width:67%;height:34%;min-height:12px;max-height:23px;
  display:flex;justify-content:center;align-items:center;position:relative;
  font-size:12px;line-height:1;
}
.cca-homebands .cca-avvento__day-mark svg{width:100%;height:100%;display:block;max-height:22px;}
.cca-homebands .cca-avvento__day--locked {background:linear-gradient(#fffdf9,#f2ebe0);opacity:.73;color:#75665d;border-color:#d6c6b0;}
.cca-homebands .cca-avvento__day--today {
  background:linear-gradient(145deg,#8a1f34,#6d172a);border-color:#9c4a4b;
  color:#fff9e8;box-shadow:inset 0 0 0 2px #ab5360,0 1px 3px #6a293530;
}
.cca-homebands .cca-avvento__day--today:before{border-color:#bd7780;}
.cca-homebands .cca-avvento__day--today .cca-avvento__day-mark svg{filter:brightness(1.3);}
.cca-homebands .cca-avvento__hint {margin:6px 0 0;font:italic 10px/1.3 Georgia,serif;color:#826c4d;text-align:center;}
.cca-homebands .cca-avvento__dialog {background:linear-gradient(150deg,#fffefa,#fff7e9);border-color:#bc8d54;}
.cca-homebands .cca-avvento__dialog:before {height:5px;background:linear-gradient(90deg,#79313a 0 33%,#c09852 33% 66%,#2b654f 66%);}
@media (max-width:760px){
  .cca-homebands .cca-avvento__layout{grid-template-columns:1fr;gap:8px;}
  .cca-homebands .cca-avvento__intro {border-right:0;border-bottom:1px solid #dfc79c;flex-direction:row;gap:9px;justify-content:center;align-items:center;padding:0 4px 8px;}
  .cca-homebands .cca-avvento__heading{font-size:21px;}
  .cca-homebands .cca-avvento__tagline{font-size:12px;max-width:170px;}
  .cca-homebands .cca-avvento__holly{font-size:18px;}
  .cca-homebands .cca-avvento__days{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;}
  .cca-homebands .cca-avvento__day-num{font-size:22px;}
}
@media (max-width:430px){
  .cca-homebands .cca-avvento__intro{flex-wrap:wrap;}
  .cca-homebands .cca-avvento__heading{font-size:19px;}
  .cca-homebands .cca-avvento__days{grid-template-columns:repeat(4,minmax(0,1fr));}
}
