#main-content { padding: 0 !important; max-width: none !important; margin: 0 !important; }
.di-hero {
position: relative;
width: 100%;
height: 340px;
overflow: hidden;
background: linear-gradient(135deg, var(--brand-color), var(--hero-gradient-end));
display: flex;
align-items: flex-end;
line-height: 0;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.6; animation: hero-float 10s infinite ease-in-out alternate; z-index: 0; }
.hero-orb-1 { width: 400px; height: 400px; background: var(--hero-orb-1); top: -100px; left: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 500px; height: 500px; background: var(--hero-orb-2); bottom: -150px; right: -100px; animation-delay: -3s; }
.hero-orb-3 { width: 300px; height: 300px; background: var(--hero-orb-3); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -6s; }
@keyframes hero-float {
0%   { transform: translate(0,0) scale(1); }
100% { transform: translate(30px,50px) scale(1.1); }
}
.hero-waves { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; z-index: 5; }
.hero-parallax > use { animation: hero-wave-move 25s cubic-bezier(.55,.5,.45,.5) infinite; }
.hero-parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.hero-parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.hero-parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.hero-parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes hero-wave-move { 0% { transform: translate3d(-90px,0,0); } 100% { transform: translate3d(85px,0,0); } }
.di-hero-content {
position: relative; z-index: 10; width: 100%;
padding: 24px 40px 52px;
display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.di-hero-logo {
width: 90px; height: 90px; object-fit: contain; border-radius: 14px;
background: rgba(255,255,255,0.15); padding: 8px;
backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
border: 1px solid rgba(255,255,255,0.25); margin-bottom: 2px;
}
.di-hero-title { font-size: 22px; font-weight: 600; color: var(--text-on-brand); letter-spacing: -0.02em; line-height: 1.3; margin: 0; }
.di-hero-sub   { font-size: 13.5px; color: rgba(255,255,255,0.78); margin: 0; line-height: 1.5; }
.di-inner {
padding: 32px 24px; max-width: 1440px; margin: 0 auto; width: 100%;
display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start;
}
.di-left { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(72px + 16px); }
.di-card { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; }
.di-card-title { font-size: 17px; font-weight: 700; color: var(--text-main); margin: 0 0 14px 0; }
.di-alert { display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; padding: 10px 14px; font-size: 13px; font-weight: 600; margin-bottom: 14px; line-height: 1.5; }
.di-alert i { font-size: 15px; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.di-alert-success { background: var(--bg-success); border: 1px solid var(--border-success); color: var(--color-success); }
.di-alert-error   { background: var(--bg-error); border: 1px solid var(--border-error); color: var(--color-error); }
.di-alert-warning { background: var(--bg-warning); border: 1px solid var(--border-warning); color: var(--color-warning); }
.di-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.di-field label { font-size: 12px; font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.06em; }
.di-input {
width: 100%; background: var(--bg-surface); border: 1px solid var(--border-color);
border-radius: 8px; font-family: var(--font-base); font-size: 13.5px; color: var(--text-main);
padding: 9px 12px; transition: border-color 0.15s, background 0.15s; appearance: none;
}
.di-input:focus { outline: none; border-color: var(--brand-color); background: var(--bg-main); }
.di-input::placeholder { color: var(--text-light); }
textarea.di-input { resize: vertical; min-height: 100px; line-height: 1.6; padding: 10px 12px; }
.di-btn-submit {
display: flex; align-items: center; justify-content: center; gap: 7px;
width: 100%; height: 40px; background: var(--brand-color); color: var(--text-on-brand);
border: none; border-radius: 8px; font-family: var(--font-base); font-size: 13px;
font-weight: 700; cursor: pointer; transition: opacity 0.15s; margin-top: 4px;
}
.di-btn-submit:hover { opacity: 0.88; }
.di-btn-ghost {
display: flex; align-items: center; justify-content: center; gap: 7px;
width: 100%; height: 38px; background: var(--bg-surface); color: var(--text-main);
border: 1px solid var(--border-color); border-radius: 8px; font-family: var(--font-base);
font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color 0.15s, color 0.15s;
margin-top: 8px;
}
.di-btn-ghost:hover { color: var(--brand-color); }
.di-locked-notice {
display: flex; align-items: center; gap: 8px; padding: 12px 14px;
background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 8px;
font-size: 13px; color: var(--text-muted); line-height: 1.5;
}
.di-info-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-color); }
.di-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.di-ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; }
.di-ico i { font-size: 17px; line-height: 1; color: var(--text-muted); }
.di-info-text { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.di-info-text strong { display: block; font-size: 12px; font-weight: 700; color: var(--text-main); margin-bottom: 1px; }
.di-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.di-search-bar { display: flex; gap: 8px; }
.di-search-input {
flex: 1; background: var(--bg-main); border: 1px solid var(--border-color);
border-radius: 8px; font-family: var(--font-base); font-size: 14px; color: var(--text-main);
padding: 0 14px; height: 40px; transition: border-color 0.15s; appearance: none;
}
.di-search-input:focus { outline: none; border-color: var(--brand-color); }
.di-search-input::placeholder { color: var(--text-light); }
.di-search-btn {
height: 40px; padding: 0 18px; background: var(--brand-color); color: var(--text-on-brand);
border: none; border-radius: 8px; font-family: var(--font-base); font-size: 13px;
font-weight: 700; cursor: pointer; white-space: nowrap; transition: opacity 0.15s; flex-shrink: 0;
}
.di-search-btn:hover { opacity: 0.88; }
.di-reset-btn {
height: 40px; width: 40px; display: inline-flex; align-items: center; justify-content: center;
background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 8px;
color: var(--text-muted); text-decoration: none; flex-shrink: 0; transition: color 0.15s, border-color 0.15s;
}
.di-reset-btn:hover { color: var(--brand-color); border-color: var(--brand-color); }
.di-results-meta { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.di-topic-list { display: flex; flex-direction: column; gap: 2px; background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.di-topic-item {
display: flex; align-items: center; gap: 14px; padding: 14px 18px;
text-decoration: none; border-bottom: 1px solid var(--border-color);
transition: background-color 0.12s;
}
.di-topic-item:last-child { border-bottom: none; }
.di-topic-item:hover { background: var(--bg-surface); }
.di-topic-icon {
width: 38px; height: 38px; border-radius: 10px; background: var(--color-brand-light);
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.di-topic-icon i { font-size: 18px; color: var(--brand-color); line-height: 1; }
.di-topic-icon.locked { background: var(--bg-surface); }
.di-topic-icon.locked i { color: var(--text-light); }
.di-topic-body { flex: 1; min-width: 0; }
.di-topic-title {
font-size: 14px; font-weight: 700; color: var(--text-main);
margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.di-topic-meta { font-size: 12px; color: var(--text-muted); }
.di-topic-meta strong { color: var(--text-main); }
.di-topic-badge {
display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
background: var(--bg-surface); border: 1px solid var(--border-color); color: var(--text-muted);
white-space: nowrap;
}
.di-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.di-back:hover { color: var(--brand-color); text-decoration: underline; }
.di-sujet-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.di-report-btn { font-size: 12px; color: var(--text-light); text-decoration: none; transition: color 0.15s; }
.di-report-btn:hover { color: var(--text-muted); }
.di-post { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.di-post-head {
display: flex; align-items: center; justify-content: space-between; gap: 12px;
padding: 12px 18px; border-bottom: 1px solid var(--border-color); background: var(--bg-surface);
flex-wrap: wrap;
}
.di-post-author { font-size: 13.5px; font-weight: 700; color: var(--text-main); }
.di-post-admin  { font-size: 12px; font-style: italic; color: var(--brand-color); margin-left: 6px; }
.di-post-date   { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.di-post-edited { font-size: 11px; font-style: italic; color: var(--text-light); }
.di-post-body { padding: 18px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.di-post-foot {
display: flex; align-items: center; gap: 10px; padding: 10px 18px;
border-top: 1px solid var(--border-color);
}
.di-edit-btn {
font-size: 12px; font-weight: 600; color: var(--text-muted); text-decoration: none;
display: inline-flex; align-items: center; gap: 5px; transition: color 0.15s;
}
.di-edit-btn:hover { color: var(--brand-color); }
.di-edit-form { padding: 18px; border-top: 1px solid var(--border-color); }
.di-edit-actions { display: flex; gap: 8px; margin-top: 10px; }
.di-btn-save {
height: 36px; padding: 0 18px; background: var(--brand-color); color: var(--text-on-brand);
border: none; border-radius: 8px; font-family: var(--font-base); font-size: 13px;
font-weight: 700; cursor: pointer; transition: opacity 0.15s;
}
.di-btn-save:hover { opacity: 0.88; }
.di-btn-cancel {
height: 36px; padding: 0 18px; background: var(--bg-surface); color: var(--text-main);
border: 1px solid var(--border-color); border-radius: 8px; font-family: var(--font-base);
font-size: 13px; font-weight: 600; text-decoration: none;
display: inline-flex; align-items: center; transition: border-color 0.15s;
}
.di-btn-cancel:hover { border-color: var(--brand-color); color: var(--brand-color); }
.di-share { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--border-color); flex-wrap: wrap; }
.di-share-label { font-size: 12px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.di-share-btn {
width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-color);
background: var(--bg-surface); color: var(--text-muted); display: inline-flex;
align-items: center; justify-content: center; font-size: 16px; text-decoration: none;
transition: color 0.15s, border-color 0.15s;
}
.di-share-btn:hover { color: var(--brand-color); border-color: var(--brand-color); }
.di-copy-toast { font-size: 12px; color: var(--brand-color); font-weight: 600; display: none; }
.di-empty {
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 12px; padding: 48px 24px; background: var(--bg-main);
border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-muted);
}
.di-empty i { font-size: 36px; opacity: 0.35; }
.di-empty p { font-size: 14px; margin: 0; }
.di-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.di-page-btn {
display: inline-flex; align-items: center; justify-content: center;
width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border-color);
background: var(--bg-main); font-size: 13px; font-weight: 600; color: var(--text-muted);
text-decoration: none; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.di-page-btn:hover { color: var(--brand-color); border-color: var(--brand-color); }
.di-page-btn.active { background: var(--brand-color); color: var(--text-on-brand); border-color: var(--brand-color); }
.di-hero-search {
display: flex;
align-items: center;
background: var(--bg-main);
border-radius: 10px;
padding: 6px 6px 6px 14px;
width: 100%;
max-width: 540px;
gap: 8px;
margin-top: 6px;
}
.di-hero-search-icon { color: var(--text-light); font-size: 15px; flex-shrink: 0; line-height: 1; }
.di-hero-search-input {
flex: 1; border: none; background: none; font-family: var(--font-base);
font-size: 14px; color: var(--text-main); outline: none; min-width: 0;
}
.di-hero-search-input::placeholder { color: var(--text-light); }
.di-hero-search-btn {
height: 38px; padding: 0 18px; background: var(--brand-color); color: var(--text-on-brand);
border: none; border-radius: 7px; font-family: var(--font-base); font-size: 13px;
font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: opacity 0.15s;
}
.di-hero-search-btn:hover { opacity: 0.88; }
@media (max-width: 860px) {
.di-inner { grid-template-columns: 1fr; }
.di-left  { position: static; order: 2; display: flex; flex-direction: column; }
.di-left .di-card:first-child { order: 2; margin-top: 12px; }
.di-left .di-card:nth-child(2) { order: 1; }
.di-main  { order: 1; }
}
@media (max-width: 600px) {
.di-hero { height: 340px; }
.hero-orb-1 { width: 200px; height: 200px; }
.hero-orb-2 { width: 250px; height: 250px; }
.hero-orb-3 { width: 150px; height: 150px; }
.hero-waves { height: 30px; }
.di-hero-content { padding: 16px 16px 36px; }
.di-hero-search { max-width: 100%; }
.di-inner { padding: 16px 12px; }
}
.forum-img-gallery {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--border-color);
}
.forum-img-wrap {
display: inline-block;
position: relative;
cursor: zoom-in;
width: 160px;
height: 160px;
border-radius: 10px;
overflow: hidden;
border: 1px solid var(--border-color);
flex-shrink: 0;
}
.forum-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.3s;
}
.forum-img-wrap:hover img { transform: scale(1.05); }
.forum-img-zoom {
position: absolute; inset: 0; background: rgba(0,0,0,0.3);
display: flex; align-items: center; justify-content: center;
opacity: 0; transition: opacity 0.2s;
}
.forum-img-wrap:hover .forum-img-zoom { opacity: 1; }
.forum-img-zoom i { font-size: 28px; color: #fff; }
.di-post-body { padding: 18px; font-size: 14px; color: var(--text-muted); line-height: 1.45; }
.di-post-body br { display: block; content: ""; margin-bottom: 0.4em; }
a.di-card-sijetais { text-decoration: none; display: block; }
a.di-card-sijetais .di-card-title { color: var(--text-main); }
a.di-card-sijetais .di-info-text { color: var(--text-muted); }
a.di-card-sijetais .di-info-text strong { color: var(--text-main); }
a.di-card-sijetais .di-info-row { border-bottom: none; }