/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			Flat Style
	Based on style:		prosilver (the default phpBB 3.2.x style)
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		Ian Bradley ( http://iansvivarium.com )
    --------------------------------------------------------------
*/

@import url("normalize.css?v=3.2");
@import url("base.css?v=3.2");
@import url("utilities.css?v=3.2");
@import url("common.css?v=3.2");
@import url("links.css?v=3.2");
@import url("content.css?v=3.2");
@import url("buttons.css?v=3.2");
@import url("cp.css?v=3.2");
@import url("forms.css?v=3.2");
@import url("icons.css?v=3.2");
@import url("colours.css?v=3.2");
@import url("responsive.css?v=3.2");
@import url("flat.css?v=3.2");
/* SMANJI HEADER VISINU */
.headerbar {
    padding: 10px 0 !important;
}

/* SMANJI UNUTRAŠNJI RAZMAK */
#site-description {
    padding: 5px 0 !important;
}

/* SMANJI NASLOV */
#site-description h1 {
    font-size: 20px !important;
    margin: 0 !important;
}

/* SMANJI PODNASLOV */
#site-description p {
    font-size: 12px !important;
    margin: 2px 0 !important;
}
@media (max-width: 768px) {
    .headerbar {
        padding: 5px 0 !important;
    }

    #site-description h1 {
        font-size: 16px !important;
    }
}
.welcome-teaser{
    max-width:900px;
    margin:20px auto;
    padding:25px;
    border-radius:16px;

    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(10px);

    border:1px solid rgba(255,255,255,0.06);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.4),
        0 1px 1px rgba(255,255,255,0.03);

    animation: fadeIn .6s ease;
}

@keyframes fadeIn{
    from{opacity:0;transform:translateY(10px)}
    to{opacity:1}
}

.welcome-teaser h2{
    font-size:22px;
    margin-bottom:10px;
}

.welcome-teaser p{
    opacity:.85;
    line-height:1.6;
    margin-bottom:15px;
}

.teaser-actions{
    display:flex;
    gap:10px;
    margin-bottom:15px;
    flex-wrap:wrap;
}

.btn{
    padding:10px 16px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    transition:0.25s;
}

.btn.primary{
    background: linear-gradient(90deg,#22c55e,#4ade80);
    color:#052e16;
}


.btn.secondary{
    background:#1e293b;
    color:#e5e7eb;
    border:1px solid #334155;
}

.btn:hover{
    transform:translateY(-2px);
}

.teaser-tags{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.teaser-tags span{
    background:rgba(255,255,255,0.05);
    padding:5px 10px;
    border-radius:6px;
    font-size:12px;
}
@media (max-width:768px){
    .welcome-teaser{
        padding:18px;
    }

    .welcome-teaser h2{
        font-size:18px;
    }
}
/* FULLSCREEN OVERLAY */
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(8px);
}

/* BLOKIRAJ SCROLL ISPOD */
body.welcome-active {
    overflow: hidden;
}

/* TEASER CARD */
.welcome-overlay .welcome-teaser {
    max-width: 520px;
    width: 90%;

    padding: 30px;
    border-radius: 18px;

background: rgba(15, 23, 42, 0.85);
backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.08);

box-shadow:
    0 25px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06);

    text-align: center;

    animation: fadeIn .5s ease;
}

.welcome-overlay h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.welcome-overlay p {
    font-size: 14px;
    opacity: .85;
}
/* NASLOV */
.welcome-teaser h2 {
    color: #f8fafc; /* skoro bijelo */
}

/* GLAVNI TEKST */
.welcome-teaser p {
    color: #e2e8f0; /* svijetlo siva */
    opacity: 1; /* ukloni prigušenje */
}

/* BOLD (Pustopoljina) */
.welcome-teaser strong {
    color: #ffffff;
}
/* MANJI BLUR SAMO NA DESKTOPU */
@media (min-width: 769px) {
    .welcome-overlay {
        backdrop-filter: blur(2px);
    }
}
/* === SIDEBAR - FORSIRANO RADI === */

.custom-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.main-content {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
}

.sidebar {
    width: 280px !important;
    flex-shrink: 0 !important;
    background: #1e1e1e !important;
    padding: 15px !important;
    border-radius: 8px !important;
    position: sticky !important;
    top: 165px !important;
    float: none !important;
    display: block !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .custom-layout {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
        position: static !important;
        margin-top: 20px !important;
    }
}
/* Desktop */
[id^="p"] {
    scroll-margin-top: 150px;
}

/* Mobilni */
@media (max-width: 768px) {
    [id^="p"] {
        scroll-margin-top: 110px;
    }
}