/*
 * Oeste360 Pub Remoto 1.3.7 Premium Clean
 * CSS único, isolado e sem camadas antigas.
 * Corrige barra fantasma duplicada e mantém rotativo, scroll, fixo e vertical.
 */

.o360-pub-rotator,
.o360-pub-collection,
.o360-pub-rotator *,
.o360-pub-collection *{box-sizing:border-box}

.o360-pub-rotator{width:min(100%,360px);margin:18px auto;position:relative;isolation:isolate}
.o360-pub-rotator.o360-pub-size-ads{width:min(100%,190px)}
.o360-pub-rotator.o360-pub-size-extra-pequeno{width:min(100%,165px)}
.o360-pub-rotator.o360-pub-size-pequeno{width:min(100%,240px)}
.o360-pub-rotator.o360-pub-size-medio{width:min(100%,360px)}
.o360-pub-rotator.o360-pub-size-grande{width:min(100%,460px)}
.o360-pub-rotator.o360-pub-size-inteligente{width:min(100%,420px)}
.o360-pub-stage{position:relative;width:100%;min-height:1px}
.o360-pub-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transform:translateX(18px);transition:opacity .55s ease,transform .55s ease}
.o360-pub-slide.is-active{position:relative;opacity:1;pointer-events:auto;transform:translateX(0)}
.o360-pub-effect-fade .o360-pub-slide{transform:none}

.o360-pub-card{width:100%;margin:0 auto;border:1px solid rgba(10,36,80,.12);border-radius:20px;overflow:hidden;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 16px 36px rgba(16,33,58,.14);font-family:inherit;display:flex;flex-direction:column;text-align:center;color:#10213a;min-width:0}
.o360-pub-imgwrap{position:relative;aspect-ratio:16/10;background:#eef4fb;overflow:hidden;display:flex;align-items:center;justify-content:center}
.o360-pub-imgwrap:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,102,.10));pointer-events:none}
.o360-pub-imgwrap img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.o360-pub-card:hover .o360-pub-imgwrap img{transform:scale(1.045)}
.o360-pub-badge{position:absolute;top:12px;left:12px;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;letter-spacing:.02em;color:#fff;background:#0787b8;box-shadow:0 8px 18px rgba(0,0,0,.18);z-index:2}
.o360-pub-premium .o360-pub-badge{background:linear-gradient(135deg,#000066,#0787b8)}
.o360-pub-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1;align-items:center;min-width:0}
.o360-pub-body h3{font-size:20px;line-height:1.15;margin:0;color:#10213a;font-weight:900;max-width:100%}
.o360-pub-meta{margin:0;color:#193861;font-size:14px;font-weight:800;text-decoration:underline;max-width:100%}
.o360-pub-contactos{display:flex;flex-direction:column;gap:4px;margin:4px 0 2px;color:#334155;font-size:13px;line-height:1.35;max-width:100%}
.o360-pub-contactos span{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.o360-pub-contactos a{color:inherit;text-decoration:none}
.o360-pub-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;margin-top:auto;background:linear-gradient(135deg,#000066,#0787b8);color:#fff!important;border-radius:999px;padding:12px 20px;font-weight:900;font-size:14px;box-shadow:0 10px 24px rgba(0,0,102,.22);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.o360-pub-btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(0,0,102,.30);filter:saturate(1.08)}
.o360-pub-noimg-text{font-weight:900;color:#0787b8;font-size:28px}
.o360-pub-msg{max-width:720px;margin:15px auto;padding:12px 14px;border-radius:12px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}

.o360-pub-size-extra-pequeno .o360-pub-card{border-radius:13px;box-shadow:0 7px 16px rgba(16,33,58,.10)}
.o360-pub-size-extra-pequeno .o360-pub-imgwrap{aspect-ratio:16/7.5}
.o360-pub-size-extra-pequeno .o360-pub-badge{top:6px;left:6px;padding:3px 6px;font-size:9px}
.o360-pub-size-extra-pequeno .o360-pub-noimg-text{font-size:15px}
.o360-pub-size-extra-pequeno .o360-pub-body{padding:7px;gap:3px}
.o360-pub-size-extra-pequeno .o360-pub-body h3{font-size:12px;line-height:1.08}
.o360-pub-size-extra-pequeno .o360-pub-meta{font-size:9px;line-height:1.15}
.o360-pub-size-extra-pequeno .o360-pub-contactos{display:none}
.o360-pub-size-extra-pequeno .o360-pub-btn{padding:6px 8px;font-size:9px;box-shadow:0 6px 14px rgba(0,0,102,.16)}
.o360-pub-size-pequeno .o360-pub-imgwrap{aspect-ratio:16/9}
.o360-pub-size-pequeno .o360-pub-body{padding:12px;gap:6px}
.o360-pub-size-pequeno .o360-pub-body h3{font-size:17px}
.o360-pub-size-pequeno .o360-pub-meta{font-size:12px}
.o360-pub-size-pequeno .o360-pub-contactos{font-size:11px}
.o360-pub-size-pequeno .o360-pub-btn{padding:9px 14px;font-size:12px}
.o360-pub-size-grande .o360-pub-imgwrap,.o360-pub-size-inteligente .o360-pub-imgwrap{aspect-ratio:16/9}
.o360-pub-size-grande .o360-pub-body,.o360-pub-size-inteligente .o360-pub-body{padding:20px;gap:10px}
.o360-pub-size-grande .o360-pub-body h3,.o360-pub-size-inteligente .o360-pub-body h3{font-size:23px}
.o360-pub-size-grande .o360-pub-meta,.o360-pub-size-inteligente .o360-pub-meta{font-size:15px}
.o360-pub-size-grande .o360-pub-contactos,.o360-pub-size-inteligente .o360-pub-contactos{font-size:14px}
.o360-pub-size-grande .o360-pub-btn,.o360-pub-size-inteligente .o360-pub-btn{padding:14px 24px;font-size:15px}

.o360-pub-size-ads .o360-pub-card{border-radius:13px;box-shadow:0 8px 20px rgba(16,33,58,.12)}
.o360-pub-size-ads .o360-pub-imgwrap{aspect-ratio:16/3.8;min-height:44px;max-height:54px}
.o360-pub-size-ads .o360-pub-badge{top:5px;left:5px;padding:3px 6px;font-size:9px}
.o360-pub-size-ads .o360-pub-noimg-text{font-size:15px}
.o360-pub-size-ads .o360-pub-body{padding:5px 7px 7px;gap:2px}
.o360-pub-size-ads .o360-pub-body h3{font-size:12.5px;line-height:1.05;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.o360-pub-size-ads .o360-pub-meta{font-size:9px;line-height:1.05;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}
.o360-pub-size-ads .o360-pub-contactos{display:flex;flex-direction:column;gap:0;margin:1px 0 2px;font-size:8.4px;line-height:1.08;color:#475569}
.o360-pub-size-ads .o360-pub-btn{padding:5px 9px;font-size:9.5px;border-radius:999px;box-shadow:0 5px 12px rgba(0,0,102,.15)}

.o360-pub-collection{width:min(100%,1200px);margin:14px auto;position:relative;isolation:isolate}
.o360-pub-track{display:flex;gap:12px;align-items:stretch}
.o360-pub-track-item{min-width:0}
.o360-pub-layout-scroll .o360-pub-track{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding:4px 4px 12px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.o360-pub-layout-scroll .o360-pub-track-item{flex:0 0 auto;scroll-snap-align:start}
.o360-pub-layout-scroll.o360-pub-visible-1 .o360-pub-track-item{width:100%}
.o360-pub-layout-scroll.o360-pub-visible-2 .o360-pub-track-item{width:calc((100% - 12px)/2)}
.o360-pub-layout-scroll.o360-pub-visible-3 .o360-pub-track-item{width:calc((100% - 24px)/3)}
.o360-pub-layout-scroll.o360-pub-visible-4 .o360-pub-track-item{width:calc((100% - 36px)/4)}
.o360-pub-layout-scroll.o360-pub-visible-5 .o360-pub-track-item{width:calc((100% - 48px)/5)}
.o360-pub-layout-scroll.o360-pub-visible-6 .o360-pub-track-item{width:calc((100% - 60px)/6)}
.o360-pub-layout-fixo .o360-pub-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));justify-content:center;overflow:visible}
.o360-pub-layout-fixo.o360-pub-size-ads .o360-pub-track{grid-template-columns:repeat(auto-fit,minmax(170px,190px))}
.o360-pub-layout-fixo.o360-pub-size-extra-pequeno .o360-pub-track{grid-template-columns:repeat(auto-fit,minmax(145px,165px))}
.o360-pub-layout-fixo.o360-pub-size-pequeno .o360-pub-track{grid-template-columns:repeat(auto-fit,minmax(210px,240px))}
.o360-pub-layout-fixo.o360-pub-size-medio .o360-pub-track{grid-template-columns:repeat(auto-fit,minmax(260px,300px))}
.o360-pub-layout-fixo.o360-pub-size-grande .o360-pub-track{grid-template-columns:repeat(auto-fit,minmax(300px,360px))}
.o360-pub-layout-fixo.o360-pub-size-inteligente .o360-pub-track{grid-template-columns:repeat(auto-fit,minmax(230px,280px))}

/* VERTICAL PREMIUM: só estas classes podem fixar a barra. */
.o360-pub-layout-vertical{width:198px;margin:12px auto}
.o360-pub-layout-vertical .o360-pub-track{display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 96px);overflow-x:hidden;overflow-y:auto;padding:4px;scrollbar-width:thin}
.o360-pub-layout-vertical .o360-pub-track-item{width:190px;flex:0 0 auto;min-height:auto}
.o360-pub-layout-vertical .o360-pub-card{transform:none}
.o360-pub-layout-vertical.o360-pub-position-inline{position:relative;width:198px;margin:12px auto;z-index:1}
.o360-pub-layout-vertical[data-o360-vertical="1"]{position:fixed!important;top:50%!important;bottom:auto!important;width:198px!important;margin:0!important;max-height:calc(100vh - 80px);overflow:visible!important;z-index:99999!important;opacity:.48;transition:transform .28s ease,opacity .22s ease;will-change:transform,opacity}
.o360-pub-layout-vertical[data-o360-vertical="1"].o360-pub-position-direita{right:0!important;left:auto!important;transform:translateY(-50%) translateX(calc(100% - 14px))!important}
.o360-pub-layout-vertical[data-o360-vertical="1"].o360-pub-position-esquerda{left:0!important;right:auto!important;transform:translateY(-50%) translateX(calc(-100% + 14px))!important}
.o360-pub-layout-vertical[data-o360-vertical="1"].is-open{transform:translateY(-50%) translateX(0)!important;opacity:1}
.o360-pub-layout-vertical[data-o360-vertical="1"].is-closed{display:none!important}
.o360-pub-layout-vertical[data-o360-vertical="0"] .o360-pub-ghost-tab,
.o360-pub-layout-vertical[data-o360-vertical="0"] .o360-pub-close{display:none!important}
.o360-pub-close{position:absolute;top:-12px;right:2px;z-index:4;width:24px;height:24px;border:0;border-radius:999px;background:#000066;color:#fff;font-size:18px;line-height:22px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(0,0,102,.22);display:flex;align-items:center;justify-content:center;padding:0}
.o360-pub-position-esquerda .o360-pub-close{right:auto;left:2px}
.o360-pub-close:hover{filter:brightness(1.08)}
.o360-pub-ghost-tab{position:absolute;top:50%;width:14px;height:86px;transform:translateY(-50%);background:linear-gradient(180deg,#078fc4 0%,#000066 100%);box-shadow:0 10px 24px rgba(0,0,102,.24);opacity:.98;pointer-events:none;z-index:3}
.o360-pub-position-direita .o360-pub-ghost-tab{left:0;border-radius:14px 0 0 14px}
.o360-pub-position-esquerda .o360-pub-ghost-tab{right:0;border-radius:0 14px 14px 0}
.o360-pub-layout-vertical.is-open .o360-pub-ghost-tab{opacity:0}
.o360-pub-duplo{display:block;width:100%}

@media(max-width:1024px){
  .o360-pub-rotator{margin:16px auto}
  .o360-pub-collection{width:min(94vw,920px)}
  .o360-pub-layout-scroll.o360-pub-visible-4 .o360-pub-track-item,.o360-pub-layout-scroll.o360-pub-visible-5 .o360-pub-track-item,.o360-pub-layout-scroll.o360-pub-visible-6 .o360-pub-track-item{width:calc((100% - 24px)/3)}
  .o360-pub-layout-vertical[data-o360-vertical="1"]{position:static!important;transform:none!important;width:min(94vw,680px)!important;margin:12px auto!important;opacity:1!important;max-height:none;z-index:1!important}
  .o360-pub-layout-vertical .o360-pub-track{flex-direction:row;overflow-x:auto;overflow-y:hidden;max-height:none;scroll-snap-type:x mandatory}
  .o360-pub-layout-vertical .o360-pub-track-item{width:230px;scroll-snap-align:start}
  .o360-pub-close,.o360-pub-ghost-tab{display:none!important}
  .o360-pub-size-ads.o360-pub-rotator{width:min(92vw,230px)}
  .o360-pub-size-ads .o360-pub-imgwrap{aspect-ratio:16/5.2;min-height:60px;max-height:72px}
  .o360-pub-size-ads .o360-pub-body h3{font-size:14px}
  .o360-pub-size-ads .o360-pub-meta{font-size:10px;text-decoration:underline}
  .o360-pub-size-ads .o360-pub-contactos{font-size:9.5px}
  .o360-pub-size-ads .o360-pub-btn{padding:7px 12px;font-size:11px}
}
@media(max-width:520px){
  .o360-pub-rotator{margin:14px auto}
  .o360-pub-collection{width:min(94vw,360px)}
  .o360-pub-layout-scroll .o360-pub-track-item{width:250px!important}
  .o360-pub-layout-fixo .o360-pub-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 12px;-webkit-overflow-scrolling:touch}
  .o360-pub-layout-fixo .o360-pub-track-item{width:250px;flex:0 0 auto;scroll-snap-align:center}
  .o360-pub-layout-vertical .o360-pub-track-item{width:230px}
  .o360-pub-body{padding:12px;gap:6px}
  .o360-pub-body h3{font-size:17px}
  .o360-pub-meta{font-size:11px}
  .o360-pub-contactos{display:none}
  .o360-pub-btn{padding:9px 14px;font-size:12px}
  .o360-pub-size-ads.o360-pub-rotator{width:min(90vw,230px)}
  .o360-pub-size-ads .o360-pub-contactos{display:flex}
}
