/* Shortkut additions to the Magzin template: the few things a prompt site needs that the template does not have.
   Only the template's own variables are used, so light and dark mode follow the template's switch. */

/* The hero's slider dots (the template ships these inside its hero component). */
.sec-9-home-1 .swiper-pagination-bullet{cursor:pointer!important;opacity:1!important;background:#ffffff80!important;border-radius:50%!important;width:12px!important;height:12px!important;margin:0 4px!important;transition:all .3s!important}
.sec-9-home-1 .swiper-pagination-bullet-active{background:#fff!important;transform:scale(1.2)!important;box-shadow:0 0 10px #ffffff80!important}
.sec-9-home-1 .swiper-pagination-bullet:hover{background:#fffc!important;transform:scale(1.1)!important}
.sec-9-home-1 .swiper-btn-next,.sec-9-home-1 .swiper-btn-prev{cursor:pointer}

/* Copy and Like in the cards' meta row: buttons drawn like the template's meta links. */
button.comment,button.readers,.sk-copy:not(.btn){display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:var(--tc-neutral-600);font-family:inherit;line-height:inherit;cursor:pointer}
button.comment:hover,.sk-copy:not(.btn):hover{color:var(--tc-neutral-900)}
.sk-copy.is-copied:not(.btn){color:var(--tc-neutral-900);font-weight:600}
.sk-copy.btn svg path,.sk-copy.btn svg rect{stroke:currentColor}
.sk-like.is-on{color:var(--tc-neutral-900);font-weight:600}
.sk-like.is-on svg path{fill:var(--tc-neutral-900);stroke:var(--tc-neutral-900)}
[data-bs-theme=dark] button.comment svg path,[data-bs-theme=dark] .sk-copy:not(.btn) svg *{stroke:var(--tc-neutral-600)}

/* The prompt box on prompt pages. */
.sk-prompt{margin:0;overflow:hidden}
.sk-prompt__bar{padding:12px 12px 12px 20px;border-bottom:1px solid var(--tc-neutral-200)}
.sk-prompt__text{position:relative;margin:0;padding:20px;font:400 15px/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;background:transparent}
.sk-prompt.is-folded .sk-prompt__text::after{content:'';position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(transparent,var(--tc-neutral-50));pointer-events:none}
.sk-prompt__fold{display:block;width:100%;padding:12px;border:0;border-top:1px solid var(--tc-neutral-200);background:transparent;color:var(--tc-neutral-900);font-weight:600;cursor:pointer}
.sk-prompt__fold:hover{background:var(--tc-neutral-100)}
.sk-var{padding:1px 6px;border-radius:6px;background:var(--tc-neutral-900);color:var(--tc-system-white)}
.sk-step{padding-bottom:8px}

/* Post notes from Studio, in the template's article text style. */
.sk-notes p,.sk-notes li{color:var(--tc-neutral-900)}
.sk-notes h2{font-size:var(--tc-fs-4);margin:8px 0 0}
.sk-notes h3,.sk-notes h4{font-size:var(--tc-fs-5);margin:8px 0 0}
.sk-notes ul{padding-left:1.2em}
.sk-notes img{max-width:100%;height:auto;border-radius:8px}
.sk-notes pre{white-space:pre-wrap;padding:16px;border-radius:12px;background:var(--tc-neutral-100);color:var(--tc-neutral-900)}
.sk-notes a{color:var(--tc-neutral-900);text-decoration:underline}
.sk-notes .gallery{display:flex;gap:8px;overflow-x:auto}

/* Filters: the template's tag item, marked when it is the current choice. */
.tag-item.is-current{background:var(--tc-neutral-900);border-color:var(--tc-neutral-900);color:var(--tc-system-white)}
.tag-item.is-current span{color:var(--tc-system-white)}
.tag-item.is-current .number{background:var(--tc-system-white);color:var(--tc-neutral-900)}

/* Forms: error text and the hidden anti-spam field. */
.sk-error{margin:-4px 0 8px;color:var(--tc-system-danger);font-weight:600}
.sk-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.btn:disabled{opacity:.6}

/* Empty sections */
.sk-empty{background:var(--tc-system-white)}

/* Shortkut logo: black artwork, turned white by the template's dark-mode-invert class. */
.navbar.style-3 .navbar-brand img,.sidebar-brand img{max-width:143px}

/* Images that are not square crops still fill the template's frames. */
.article .cover-image,.article .card-img img,.article .thumbnail img{object-fit:cover}
/* Prompt outputs are often portrait: show the whole picture in the template's wide frame, never taller than the screen. */
.custom-container-2>img.cover-image,.custom-container-2 .slider-1 img{display:block;width:100%;height:min(75vh,731px);object-fit:contain;background:var(--tc-neutral-100)}
.slider-1 img{width:100%;height:100%;object-fit:cover}

/* Skip link: hidden until a keyboard user tabs to it. */
.sk-skip{position:fixed;left:16px;top:-80px;z-index:1100}
.sk-skip:focus{top:16px}

/* Text for screen readers only (this Bootstrap build has no visually-hidden). */
.sk-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Page titles are <h1> for search engines but sized like the template's heading tag on that spot.
   The template sizes h1 after Bootstrap's .h2-.h6 classes load, so the class needs the extra weight here. */
h1.h2:not([class*="ds-"]){font-size:var(--tc-fs-2)}
h1.h4:not([class*="ds-"]){font-size:var(--tc-fs-4)}
h1.h5:not([class*="ds-"]){font-size:var(--tc-fs-5)}

/* The preloader hides once the page has been read (see app/layout.tsx). */
.sk-loaded #preloader{display:none}

/* About: the cover picture keeps the template's 1194 x 576 frame; category tiles fill theirs. */
.sk-about-cover{width:100%;height:576px;max-height:60vh}
.sk-cover{object-fit:cover}
.sk-tile{min-height:370px}
.banner-ads .h4{color:#a7aaaf}.banner-ads .h4 span{color:#fff}.banner-ads .tag-ads .h6{color:#fff}
/* Keep the homepage slider pictures square. */
.sk-square{aspect-ratio:1/1;object-fit:cover}

/* Give the category links their own row on smaller screens. */
@media (max-width:991.98px){
  .navbar.style-3 .header{flex-wrap:wrap;height:auto;min-height:83px;padding-block:12px}
  .navbar.style-3 .sk-category-nav{order:1;flex:0 0 100%}
  .navbar.style-3 .sk-category-nav .navbar-nav{flex-wrap:wrap;column-gap:16px;row-gap:0}
}
