#drimo-lightbox { position: fixed; z-index: 10000; left: 0; top: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity 0.4s ease, visibility 0.4s; backdrop-filter: blur(15px); pointer-events: none; }
#drimo-lightbox.active { visibility: visible; opacity: 1; pointer-events: auto; }
#drimo-lightbox img { max-width: 80vw !important; max-height: 80vh !important; width: auto !important; height: auto !important; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,0.7); will-change: transform; }
#drimo-lightbox .close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; opacity: 0.5; transition: 0.3s; z-index: 10002; line-height: 1; }
#drimo-lightbox .close-btn:hover { color: #b8404c; opacity: 1; transform: scale(1.2); }
#drimo-lightbox .lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 60px; color: #fff; cursor: pointer; padding: 20px; z-index: 10001; opacity: 0.3; transition: 0.3s; display: none; user-select: none; }
#drimo-lightbox .lb-arrow:hover { opacity: 1; color: #b8404c; }
#drimo-lightbox .lb-prev { left: 20px; }
#drimo-lightbox .lb-next { right: 20px; }

.about-container h1 { width: 100%; display: block; clear: both; color: #000; font-size: 30px; font-weight: 300; margin: 0 0 30px 0; letter-spacing: -1px; border-bottom: 2px solid #b8404c; padding-bottom: 10px; }
.about-container h3, .main h3 { width: 100%; display: block; clear: both; color: #000; font-size: 22px; font-weight: 700; margin: 50px 0 25px 0; text-transform: uppercase; border-bottom: 3px solid #0056b3;}
.sys_cols { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 30px; width: 100%; margin: 0 0 20px 0; clear: both; }
.text { box-sizing: border-box; width: 100%; margin-bottom: 20px; clear: both; }
[class^="sys_col"] { box-sizing: border-box; min-width: 280px; flex: 1; }
.sys_cols .text p { font-size: 15px; line-height: 1.7; color: #444; margin: 0 0 15px 0; text-align: justify; }
.sys_cols .text strong { color: #000; font-weight: 700; }
.sys_cols .text ul { padding-left: 20px; margin-bottom: 20px; }
.sys_cols .text li { margin-bottom: 8px; color: #444; }
.text a { color: #b8404c; text-decoration: none; position: relative; transition: 0.3s ease; }
.text a:hover { color: #000; }
.main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; clear: both; display: block; overflow: hidden; }
@media (max-width: 900px) { .main { padding: 0 15px; } .sys_cols { display: flex; flex-direction: column; gap: 0; } [class^="sys_col"] { width: 100% !important; margin-bottom: 30px; } .about-container h1 { font-size: 28px; } .about-container h3 { margin: 30px 0 15px 0; } }
.DRIMOvalid { width: 100%; max-width: 100%; margin: 20px 0; }
.input_f { width: 100%; box-sizing: border-box; padding: 12px 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 14px; outline: none; transition: border-color 0.3s; background: #fdfdfd; }
.input_f:focus { border-color: #94b700; background: #fff; }
textarea.input_f { min-height: 120px; resize: vertical; }
.DRIMOvalid label { font-size: 12px; color: #777; line-height: 1.6; display: block; margin: 10px 0 20px 0; cursor: default; }
.DRIMOvalid input[type="checkbox"] { vertical-align: middle; margin-right: 8px; }
.button_f { background: #000; color: #fff; padding: 14px 30px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s; display: inline-block; width: auto; }
.button_f:hover { background: var(--accent-color); }
.DRIMOvalid .consent_label { font-size: 12px; color: #666; line-height: 1.5; display: flex; align-items: flex-start; margin: 15px 0 25px 0; cursor: pointer; text-align: left; }
.DRIMOvalid .consent_label input { width: 18px !important; height: 18px !important; margin-top: 2px; flex-shrink: 0; }
.DRIMOvalid .input_f:valid:not(:placeholder-shown) { border-color: #94b700; }
.btn-strefa2 { background: #0056b3; color: #fff; padding: 0 18px; height: 36px; border-radius: 20px; font-weight: 600; font-size: 0.81rem; display: flex; align-items: center; gap: 8px; transition: 0.3s; width:130px;}
.btn-strefa2:hover { background: #003d82; }


.u6_foto { width: 100%; margin-bottom: 40px; }
.u6_foto .tr { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.u6_foto .td { flex: 1 1 280px; max-width: 350px; text-align: center; opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.u6_foto .td img { width: 100% !important; max-width: 100% !important; height: auto; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: all 0.3s ease; object-fit: cover; aspect-ratio: 3/4; }
.u6_foto .td:hover img { transform: translateY(-7px); box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
.signature { margin-top: 15px; font-size: 16px; font-weight: 600; color: #1a1a1a; letter-spacing: 0.5px; }
.signature a { margin-top: 15px; font-size: 12px; color: #b8404c; text-decoration: none; position: relative; display: inline-block; }
.signature a::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 1px; bottom: -2px; left: 0; background-color: #b8404c; transform-origin: bottom right; transition: transform 0.3s ease-out; }
.signature a:hover::after { transform: scaleX(1); transform-origin: bottom left; }
.u6_foto .td:nth-child(1) { animation-delay: 0.1s; }
.u6_foto .td:nth-child(2) { animation-delay: 0.3s; }
.u6_foto .td:nth-child(3) { animation-delay: 0.5s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) { .u6_foto .td { flex: 1 1 100%; max-width: 300px; margin: 0 auto; } }

.news-listing-container { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.news-item { width: calc(33.333% - 20px); background: #fff; border: 1px solid #e0e0e0; display: flex; flex-direction: column; overflow: hidden; transition: 0.3s; }
.news-item:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); transform: translateY(-3px); border-color: #000; }
.news-thumb { height: 200px; width: 100%; overflow: hidden; position: relative; background: #f9f9f9; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.5s; }
.news-thumb:hover img { transform: scale(1.1); }
.news-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-meta { font-size: 12px; color: #999;}
.news-content h2 { font-size: 18px; margin: 0 0 15px 0; line-height: 1.4; font-weight: 700; }
.news-content h2 a { color: #000; text-decoration: none; }
.news-intro { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.btn-news { align-self: flex-start; background: #0056b3; color: #fff; padding: 10px 25px; font-size: 10px; font-weight: bold; text-transform: uppercase; text-decoration: none; border: 1px solid #0056b3; border-radius: 20px; transition: 0.3s; letter-spacing: 1px; }
.btn-news:hover { background: #fff; color: #000; }
@media (max-width: 900px) { .news-item { width: calc(50% - 15px); } }
@media (max-width: 600px) { .news-item { width: 100%; } }

.news-super-container { max-width: 1200px; margin: 0 auto; padding: 20px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.news-super-header { margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.news-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.news-date-tag { background: #b8404c; color: #fff; padding: 8px 16px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; }
.news-back-btn { color: #888; text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.news-back-btn:hover { color: #000; }
.news-back-btn .icon { font-size: 16px; line-height: 1; }
.news-super-title { font-size: 42px; line-height: 1.2; font-weight: 800; color: #111; margin: 0; letter-spacing: -0.5px; }
.news-super-grid { display: grid; grid-template-columns: 450px 1fr; gap: 60px; align-items: start; }
.news-col-visuals { position: sticky; top: 20px; }
.news-main-photo { width: 100%; margin-bottom: 30px; border-radius: 8px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.news-main-photo img { width: 100%; height: auto; display: block; }
.news-gallery-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #999; margin-bottom: 15px; letter-spacing: 1px; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.news-super-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.news-gallery-item { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; position: relative; cursor: pointer; }
.news-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.news-gallery-item:hover img { transform: scale(1.15); }
.news-col-text { font-size: 18px; line-height: 1.8; color: #2c2c2c; font-weight: 300; }
.news-col-text p { margin-bottom: 25px; }
@media (max-width: 900px) { .news-super-grid { grid-template-columns: 1fr; gap: 40px; } .news-col-visuals { position: static; max-width: 600px; margin: 0 auto; } .news-super-title { font-size: 32px; } }
.news-col-text table { width: 100% !important; border-collapse: collapse; margin: 30px 0; font-size: 13px; line-height: 1.4; border-radius: 8px; overflow: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.05); border: none !important; }
.news-col-text table tr:first-child td { background-color: #b8404c !important; color: #ffffff !important; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 15px 12px; border: none !important; font-size: 11px; }
.news-col-text table td { padding: 12px; border-bottom: 1px solid #eee !important; color: #444; border-left: none !important; border-right: none !important; transition: background 0.2s; }
.news-col-text table tr:nth-child(even) { background-color: #fcfcfc; }
.news-col-text table tr:hover td { background-color: #fdf2f3; }
.news-col-text table td:last-child { font-weight: 700; text-transform: capitalize; color: #b8404c; }
@media (max-width: 800px) { .news-col-text { overflow-x: auto; } .news-col-text table { min-width: 800px; } }

.ofg1 { display: inline-block; width: 100%; box-sizing: border-box; vertical-align: top; margin-bottom: 15px; }
.ofg2 { display: inline-block; width: calc(50% - 15px); box-sizing: border-box; vertical-align: top; margin: 7px; }
.ofg3 { display: inline-block; width: calc(33.33% - 15px); box-sizing: border-box; vertical-align: top; margin: 7px; }
.ofg4 { display: inline-block; width: calc(25% - 15px); box-sizing: border-box; vertical-align: top; margin: 7px; }
.ofg5 { display: inline-block; width: calc(20% - 15px); box-sizing: border-box; vertical-align: top; margin: 7px; }

.offset { text-align: center; margin: 30px 0; font-family: sans-serif; }
.offset a { display: inline-block; padding: 8px 15px; margin: 0 4px; background: #0056b3; color: #fff; text-decoration: none; border-radius: 4px; font-weight: bold; transition: 0.3s; }
.offset a:hover { background: #004085; }
.offset a.s { background: #b8404c; pointer-events: none; }
.offset a.no { opacity: 0.5; pointer-events: none; }
.offset #ol:empty::after { content: "\00AB"; }
.offset #op:empty::after { content: "\00BB"; }
textarea#story { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: sans-serif; font-size: 14px; resize: vertical; transition: 0.3s; }
textarea#story:focus { border-color: #0056b3; outline: none; box-shadow: 0 0 5px rgba(0, 86, 179, 0.3); }
input#submit { display: inline-block; background: #0056b3; color: #fff; border: none; padding: 12px 24px; border-radius: 4px; font-weight: bold; cursor: pointer; transition: 0.3s; font-family: sans-serif; font-size: 14px; }
input#submit:hover { background: #b8404c; }
