body{overflow-x:hidden;transition:margin .4s cubic-bezier(.4,0,.2,1);width:100vw}body.menu-open{overflow:hidden;margin-left:-240px}.site-header[data-astro-cid-3ef6ksr2]{width:100vw;z-index:100;transition:margin .4s cubic-bezier(.4,0,.2,1)}.header-container[data-astro-cid-3ef6ksr2]{margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center}.logo[data-astro-cid-3ef6ksr2] img[data-astro-cid-3ef6ksr2]{width:220px;height:auto;display:block}.menu-toggle[data-astro-cid-3ef6ksr2]{width:40px;height:40px;background:none;border:none;cursor:pointer;padding:8px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;position:relative;z-index:101}.menu-toggle[data-astro-cid-3ef6ksr2] span[data-astro-cid-3ef6ksr2]{display:block;width:30px;height:3px;background:#333;border-radius:3px;transition:all .3s cubic-bezier(.4,0,.2,1);transform-origin:center}.menu-toggle[data-astro-cid-3ef6ksr2]:hover span[data-astro-cid-3ef6ksr2]{background:#667eea}.menu-toggle[data-astro-cid-3ef6ksr2].active span[data-astro-cid-3ef6ksr2]:nth-child(1){transform:translateY(9px) rotate(45deg)}.menu-toggle[data-astro-cid-3ef6ksr2].active span[data-astro-cid-3ef6ksr2]:nth-child(2){opacity:0;transform:scaleX(0)}.menu-toggle[data-astro-cid-3ef6ksr2].active span[data-astro-cid-3ef6ksr2]:nth-child(3){transform:translateY(-9px) rotate(-45deg)}.side-menu[data-astro-cid-3ef6ksr2]{position:fixed;top:0;right:0;width:240px;height:100vh;background:#1d1d1d;z-index:102;padding:34px;transform:translate(240px);transition:transform .4s cubic-bezier(.4,0,.2,1)}body.menu-open .side-menu[data-astro-cid-3ef6ksr2]{transform:translate(0)}.menu-nav[data-astro-cid-3ef6ksr2]{display:flex;flex-direction:column;gap:0;align-items:flex-start}.menu-item[data-astro-cid-3ef6ksr2]{color:#fff9;text-decoration:none;font-size:15px;font-weight:400;height:40px;display:flex;align-items:center;justify-content:space-between;width:100%;transition:all .3s ease;position:relative}.menu-item[data-astro-cid-3ef6ksr2]:hover{color:#fff}.menu-item[data-astro-cid-3ef6ksr2]:after{content:"→";font-size:36px;margin-top:-9px;line-height:1;opacity:0;transform:translate(-10px);transition:all .3s ease}.menu-item[data-astro-cid-3ef6ksr2]:hover:after{opacity:1;transform:translate(0)}.menu-divider[data-astro-cid-3ef6ksr2]{width:100%;height:1px;background:#ffffff26;margin:.75rem 0}.menu-item-admin[data-astro-cid-3ef6ksr2]{color:#00deff;font-weight:500}.menu-item-admin[data-astro-cid-3ef6ksr2]:hover{color:#fff}@media(max-width:768px){.logo[data-astro-cid-3ef6ksr2] img[data-astro-cid-3ef6ksr2]{width:150px}.header-container[data-astro-cid-3ef6ksr2]{padding:.75rem 1rem}}footer[data-astro-cid-sz7xmlte]{height:100px;padding:0 50px;display:flex;align-items:center;justify-content:flex-start}.footer-content[data-astro-cid-sz7xmlte]{display:flex;align-items:center;gap:12px;font-size:14px;color:#666;flex-wrap:wrap;justify-content:flex-start}.separator[data-astro-cid-sz7xmlte]{color:#666}.copyright[data-astro-cid-sz7xmlte]{font-weight:400}.email[data-astro-cid-sz7xmlte]{color:#666;text-decoration:underline;transition:opacity .2s}.email[data-astro-cid-sz7xmlte]:hover{opacity:.7}.social-icons[data-astro-cid-sz7xmlte]{display:flex;align-items:center;gap:16px}.social-icons[data-astro-cid-sz7xmlte] a[data-astro-cid-sz7xmlte]{color:#ff5faf;display:flex;align-items:center;transition:opacity .2s}.social-icons[data-astro-cid-sz7xmlte] a[data-astro-cid-sz7xmlte]:hover{opacity:.7}@media(max-width:768px){footer[data-astro-cid-sz7xmlte]{padding:20px 12px;height:auto;min-height:100px;justify-content:flex-start}.footer-content[data-astro-cid-sz7xmlte]{font-size:12px;gap:8px;justify-content:flex-start}.social-icons[data-astro-cid-sz7xmlte]{gap:10px}.social-icons[data-astro-cid-sz7xmlte] svg[data-astro-cid-sz7xmlte]{width:18px;height:18px}}.admin-layout{display:grid;grid-template-columns:280px 1fr;min-height:100vh;background:#f5f7fa;width:100%;position:relative;margin:0;padding:0}.sidebar{background:#1e293b;color:#fff;display:flex;flex-direction:column;position:fixed;width:280px;height:100vh;overflow-y:auto;z-index:1000;top:0;left:0;grid-column:1}.sidebar-header{padding:2rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;justify-content:center;align-items:center}.sidebar-header .logo{display:block}.sidebar-header .logo img{width:180px;height:auto;display:block}.user-section{padding:1.5rem;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:1rem}.user-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:600;flex-shrink:0}.user-details{flex:1;min-width:0}.user-email{font-size:.875rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{font-size:.75rem;color:#94a3b8}.sidebar-nav{flex:1;padding:1rem 0}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;color:#94a3b8;text-decoration:none;transition:all .2s;border:none;background:none;width:100%;cursor:pointer;font-size:.9375rem;font-family:inherit}.nav-item:hover{background:#ffffff0d;color:#fff}.nav-item.active{background:#667eea26;color:#fff;border-right:3px solid #667eea}.nav-item svg{flex-shrink:0}.logout-item{margin-top:auto;color:#f87171;border-top:1px solid rgba(255,255,255,.1)}.logout-item:hover{background:#f871711a;color:#fca5a5}.main-content{padding:2rem;grid-column:2;min-height:100vh;position:relative;min-width:0;overflow-x:hidden}.content-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.content-header h1{font-size:2rem;color:#1e293b;font-weight:700;margin:0}.content-header .btn{display:inline-flex;align-items:center;gap:.5rem;flex-shrink:0}.content-header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.form-actions{display:flex;flex-direction:row;justify-content:flex-end;gap:.75rem;margin-top:1.5rem}.content-title-row{display:flex;align-items:center;gap:.5rem}.title-back-link{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;color:#475569;text-decoration:none;transition:all .2s}.title-back-link:hover{background:#e2e8f0;color:#1e293b}.title-back-link svg{display:block}.header-actions{display:flex;gap:.75rem;align-items:center}.header-actions svg{margin-right:0;vertical-align:middle}button,.btn,.btn-primary,.btn-secondary,.btn-danger,.btn-secondary-small,.btn-remove,.btn-remove-small,.btn-icon,.btn-icon-edit,.markdown-preview-toggle{font-family:"Source Sans 3",sans-serif;font-weight:600}.btn,.btn-primary,.btn-secondary,.btn-danger{padding:.7rem 1.25rem;border:none;border-radius:8px;font-size:.95rem;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;line-height:1;min-height:42px;box-sizing:border-box;white-space:nowrap;transition:all .2s;font-weight:600}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-secondary{background:#64748b;color:#fff}.btn-secondary:hover{background:#475569}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.stat-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;display:flex;align-items:center;gap:1rem;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon.projects{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.stat-icon.featured{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.stat-icon.categories{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.stat-info{flex:1}.stat-label{font-size:.875rem;color:#64748b;margin-bottom:.25rem}.stat-value{font-size:2rem;font-weight:700;color:#1e293b}.quick-actions-section{grid-column:span 3;background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.quick-actions-section h2{margin:0 0 1rem;font-size:1.25rem;color:#1e293b}.action-buttons{display:flex;gap:1rem}.action-btn{flex:1;padding:1rem;border-radius:8px;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:.75rem;font-weight:500;transition:all .2s}.action-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.action-btn.secondary{background:#f1f5f9;color:#1e293b}.action-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.recent-projects-section{grid-column:span 3;background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.recent-projects-section h2{margin:0 0 1rem;font-size:1.25rem;color:#1e293b}.recent-projects-list{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.recent-project-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .625rem;border-radius:8px;border:1px solid #e2e8f0;text-decoration:none;color:inherit;transition:background .2s,border-color .2s}.recent-project-item:hover{background:#f8fafc;border-color:#c7d2fe}.recent-project-item:hover .recent-action{background:#ede9fe}.recent-thumb{width:48px;height:48px;object-fit:cover;border-radius:6px;flex-shrink:0}.recent-info{flex:1;min-width:0}.recent-info h3{margin:0;font-size:.875rem;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-action{color:#667eea;padding:.375rem;border-radius:6px;flex-shrink:0;display:flex;align-items:center;transition:background .2s}.load-more-btn{display:block;margin:1.25rem auto 0;padding:.625rem 1.5rem;background:transparent;border:1px solid #c7d2fe;border-radius:8px;color:#667eea;font-weight:500;font-size:.875rem;cursor:pointer;transition:background .2s,border-color .2s,color .2s}.load-more-btn:hover:not(:disabled){background:#ede9fe;border-color:#a5b4fc;color:#5568d3}.load-more-btn:disabled{opacity:.6;cursor:not-allowed}.projects-grid-admin{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;grid-auto-rows:200px}.project-card-admin{border-radius:0;border:none;overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 8px #0000001a}.project-card-admin:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000026}.project-card-admin[data-width="1"]{grid-column:span 1}.project-card-admin[data-width="2"]{grid-column:span 2}.project-card-admin[data-width="3"]{grid-column:span 3}.project-card-admin[data-width="4"]{grid-column:span 4}.project-card-admin[data-width="5"]{grid-column:span 5}.project-card-admin[data-height="1"]{grid-row:span 1}.project-card-admin[data-height="2"]{grid-row:span 2}.project-preview{width:100%;height:100%;background-size:cover;background-position:center;position:relative;padding:2rem;display:flex;flex-direction:column;justify-content:flex-end}.project-preview .overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7),transparent)}.project-title{position:relative;z-index:1;color:#fff;margin:0;font-size:1.5rem;font-weight:600}.modal{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e2e8f0}.modal-header h2{margin:0;font-size:1.25rem;color:#1e293b}.close-btn{background:none;border:none;font-size:2rem;color:#64748b;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background .2s}.close-btn:hover{background:#f1f5f9}.modal-body{padding:1.5rem}.modal-actions{display:flex;gap:.75rem;margin-top:1.5rem;flex-direction:column}.projects-layout-modal .button-group button.active{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.btn-layout-light{background:#cfe8ff!important;color:#1e40af!important;border:1px solid #7db7ff!important}.btn-layout-light:hover{background:#93c5fd!important;border-color:#3b82f6!important;color:#1e3a8a!important;box-shadow:none!important;transform:none!important}.project-form{width:100%}.form-section{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a}.form-section h2{margin:0 0 1.5rem;font-size:1.25rem;color:#1e293b;border-bottom:2px solid #e2e8f0;padding-bottom:.75rem}.form-section .linktree-links-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.5rem;border-bottom:2px solid #e2e8f0;padding-bottom:.75rem}.form-section .linktree-links-header h2{margin:0;border-bottom:none;padding-bottom:0}.form-section .linktree-links-header .btn-icon{font-size:1.35rem;font-weight:500;line-height:1}.linktree-links-list{display:flex;flex-direction:column;gap:.75rem}.linktree-link-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.linktree-link-item.is-dragging{opacity:.55}.linktree-link-drag{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border:none;border-radius:6px;background:#e2e8f0;color:#64748b;cursor:grab;transition:background .2s,color .2s}.linktree-link-drag:hover{background:#cbd5e1;color:#334155}.linktree-link-drag:active{cursor:grabbing}.linktree-link-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;flex:1;min-width:0}.linktree-link-fields .form-group{margin-bottom:0}.linktree-link-item .btn-icon-delete{flex-shrink:0}@media(max-width:768px){.linktree-link-fields{grid-template-columns:1fr}}.form-group{margin-bottom:1.5rem}.form-group:last-child{margin-bottom:0}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#1e293b;font-size:.9375rem}.form-group input[type=text],.form-group input[type=url],.form-group input[type=number],.form-group input[type=password],.form-group textarea,.form-group select{width:100%;padding:.75rem;border:1px solid #cbd5e1;border-radius:6px;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-group select{padding-right:2.5rem;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center;background-size:14px 14px}.form-group select::-ms-expand{display:none}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group small{display:block;margin-top:.25rem;color:#64748b;font-size:.875rem}.form-group textarea.code-textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875rem;line-height:1.5}.wysiwyg-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.wysiwyg-toolbar .btn{min-height:34px;padding:.4rem .7rem}.wysiwyg-editor{width:100%;min-height:220px;padding:.75rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:1rem;line-height:1.6}.wysiwyg-editor:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.wysiwyg-editor p,.wysiwyg-editor ul,.wysiwyg-editor ol{margin:0 0 .9rem}.image-preview{margin-top:.75rem;margin-bottom:.5rem;width:200px;height:200px;border-radius:8px;overflow:hidden;background:#f1f5f9;border:2px solid #e2e8f0}.image-preview img{width:100%;height:100%;object-fit:cover;display:block}.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.required{color:#ef4444}.button-group{display:flex;gap:.5rem}.button-group button{flex:1;padding:.75rem;border:2px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s;font-weight:500;color:#64748b}.button-group button:hover{border-color:#667eea;color:#667eea}.button-group button.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:2rem;flex-wrap:wrap}.actions-right{display:flex;gap:1rem}.media-list{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem}.media-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;gap:1rem;min-width:0;overflow:hidden}.media-item--full{grid-column:1 / -1}.media-item--half{grid-column:span 1}.media-list>.empty{grid-column:1 / -1}.media-item[draggable=true]{cursor:grab}.media-item[draggable=true]:active{cursor:grabbing}.media-item.is-dragging{opacity:.55}.media-thumbnail{width:60px;height:60px;border-radius:6px;overflow:hidden;flex-shrink:0;background:#e2e8f0;display:flex;align-items:center;justify-content:center}.media-thumbnail img{width:100%;height:100%;object-fit:cover}.media-leading{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.5rem;min-width:60px;flex-shrink:0}.media-info{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;flex:1;min-width:0;overflow:hidden}.media-type{padding:.25rem .75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.media-uri{flex:1;min-width:0;color:#64748b;font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-uri--link{background:none;border:none;padding:0;cursor:pointer;text-align:left;font-family:inherit;text-decoration:underline dotted;text-underline-offset:2px}.media-uri--link:hover{color:#2563eb}.media-uri--text{cursor:default}.copy-toast{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);background:#1e293b;color:#fff;padding:.65rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:500;z-index:2000;pointer-events:none;box-shadow:0 4px 16px #0003;animation:toastIn .2s ease}@keyframes toastIn{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.media-layout{padding:.25rem .75rem;background:#f1f5f9;color:#64748b;border-radius:4px;font-size:.75rem;font-weight:500}.btn-remove{background:#fee;color:#f87171;border:none;width:32px;height:32px;border-radius:6px;cursor:pointer;font-size:1rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.btn-remove:hover{background:#fca5a5;color:#fff}.markdown-preview{margin-top:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.markdown-preview-toggle{width:100%;background:transparent;border:none;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.markdown-preview-title{font-size:1rem;color:#64748b;font-weight:600}.markdown-chevron{color:#64748b;transition:transform .22s ease}.markdown-chevron.is-open{transform:rotate(180deg)}.markdown-preview-content{max-height:0;opacity:0;overflow:hidden;transition:max-height .28s ease,opacity .2s ease}.markdown-preview-content.is-open{max-height:420px;opacity:1}.markdown-preview-content>div{padding:0 1.25rem 1.25rem;color:#1e293b;line-height:1.6}.seo-section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.seo-section-toggle{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0;background:transparent;border:none;padding:0;cursor:pointer;text-align:left}.seo-section-toggle h2{margin:0;font-size:1.25rem;color:#1e293b;border-bottom:none;padding-bottom:0}.seo-auto-fill-btn{flex-shrink:0;white-space:nowrap}.seo-chevron{color:#64748b;flex-shrink:0;transition:transform .22s ease}.seo-chevron.is-open{transform:rotate(180deg)}.seo-section-content{max-height:0;opacity:0;overflow:hidden;transition:max-height .32s ease,opacity .2s ease}.seo-section-content.is-open{max-height:2400px;opacity:1}.seo-section-content.is-open .seo-section-inner{margin-top:.75rem;padding-top:1.5rem;border-top:2px solid #e2e8f0}.seo-section-inner{padding-bottom:.5rem}@media(max-width:640px){.recent-projects-list{grid-template-columns:1fr}.seo-section-header{flex-wrap:wrap}.seo-auto-fill-btn{width:100%;white-space:normal;text-align:center}}.section-description{color:#64748b;font-size:.95rem;margin-bottom:1.5rem;line-height:1.6}.add-media-form{margin-top:2rem;padding:1.5rem;background:#fff;border-radius:8px;border:2px dashed #e2e8f0}.add-media-form h3{margin:0 0 1.5rem;font-size:1.1rem;color:#1e293b}.media-type-badge{padding:.35rem .85rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:6px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.media-width-badge{padding:.35rem .85rem;background:#f1f5f9;color:#475569;border-radius:6px;font-size:.75rem;font-weight:600}.media-details{color:#64748b;font-size:.875rem;font-weight:500}.media-label{color:#334155}.media-caption{color:#64748b;font-size:.85rem;font-style:italic}.gallery-section{margin:1rem 0}.gallery-section>label{display:block;margin-bottom:.5rem;font-weight:500;color:#1e293b;font-size:.9375rem}.gallery-url-thumb{width:42px;height:42px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#e2e8f0;border:1px solid #cbd5e1;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.9rem}.gallery-url-thumb img{width:100%;height:100%;object-fit:cover}.gallery-url-input{flex:1;min-width:0;height:42px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;padding:0 .85rem;font-size:.9rem;color:#334155}.gallery-url-input:focus{outline:none;border-color:#64748b;background:#fff}.gallery-url-row .gallery-row-action{margin-top:0}.btn-remove-small{background:#fee;color:#f87171;border:1px solid #fca5a5;width:42px;height:42px;border-radius:8px;cursor:pointer;font-size:.9rem;transition:all .2s;display:flex;align-items:center;justify-content:center;flex-shrink:0}.btn-remove-small:hover{background:#fca5a5;color:#fff}.btn-secondary-small{padding:.45rem .9rem;background:#f1f5f9;color:#334155;border:none;border-radius:6px;font-size:.83rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:0;display:inline-flex;align-items:center;justify-content:center;line-height:1;min-height:36px;box-sizing:border-box}.btn-secondary-small:hover{background:#e2e8f0}.btn-gallery-picker{width:42px;min-width:42px;height:42px;padding:0;border:1px solid #cbd5e1;border-radius:8px;background:#f1f5f9;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;box-sizing:border-box;flex-shrink:0}.btn-gallery-picker:hover{background:#e2e8f0;color:#1e293b}.btn-gallery-picker svg{display:block}.gallery-section>.btn-secondary-small{margin-top:.5rem}.section-header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.section-header-row>div{flex:1}.section-header-row h2{margin-bottom:.25rem}.section-header-row .section-description{margin-bottom:0}.btn-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;cursor:pointer;transition:all .2s;flex-shrink:0}.btn-icon:hover{background:#e2e8f0;color:#1e293b}.btn-icon-edit{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;background:#f1f5f9;color:#64748b;cursor:pointer;transition:all .2s;flex-shrink:0}.btn-icon-edit:hover{background:#dbeafe;color:#2563eb}.btn-icon-delete{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;background:#fee2e2;color:#dc2626;cursor:pointer;transition:all .2s;flex-shrink:0}.btn-icon-delete:hover{background:#fecaca;color:#b91c1c}.media-list-footer{margin-top:.5rem;display:flex;justify-content:flex-start}.media-modal-overlay{position:fixed;inset:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1.5rem}.media-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #00000040;width:100%;max-width:640px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.media-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.media-modal-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#1e293b}.media-modal-body{padding:1.5rem;overflow-y:auto;flex:1}.media-modal-footer{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-top:1px solid #e2e8f0;flex-shrink:0;gap:1rem}.modal-footer-actions{display:flex;gap:.75rem;margin-left:auto}.loading,.empty{text-align:center;color:#94a3b8;padding:2rem}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.error-container .error-message{background:#fee2e2;color:#991b1b;padding:1rem 1.5rem;border-radius:8px;margin-bottom:0}.error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:8px;margin-bottom:1.5rem}@media(max-width:1024px){.dashboard-grid{grid-template-columns:1fr}.stat-card,.quick-actions-section,.recent-projects-section{grid-column:1}.recent-projects-list{grid-template-columns:repeat(2,1fr)}.projects-grid-admin{grid-template-columns:repeat(4,1fr)}.project-card-admin[data-width="5"]{grid-column:span 4}}@media(max-width:900px){.projects-grid-admin{grid-template-columns:repeat(3,1fr)}.project-card-admin[data-width="4"],.project-card-admin[data-width="5"]{grid-column:span 3}}@media(max-width:768px){.projects-grid-admin{grid-template-columns:repeat(2,1fr)}.project-card-admin[data-width="3"],.project-card-admin[data-width="4"],.project-card-admin[data-width="5"]{grid-column:span 2}.content-header{flex-direction:column;gap:1rem;align-items:flex-start}.header-actions{width:100%;flex-wrap:wrap}.header-actions a,.header-actions button{flex:1;min-width:fit-content}.form-row{grid-template-columns:1fr}.main-content{padding:1rem}}@media(max-width:480px){.projects-grid-admin{grid-template-columns:1fr}.project-card-admin[data-width="2"],.project-card-admin[data-width="3"],.project-card-admin[data-width="4"],.project-card-admin[data-width="5"]{grid-column:span 1}.project-card-admin[data-height="1"],.project-card-admin[data-height="2"]{grid-row:span 1}}.header-actions{display:flex;gap:1rem;align-items:center}.type-filter{padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;background:#fff;cursor:pointer;transition:border-color .2s}.type-filter:focus{outline:none;border-color:#667eea}.media-container{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.media-card{background:#f8fafc;border-radius:12px;overflow:hidden;cursor:pointer;transition:all .3s;border:2px solid #e2e8f0}.media-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a;border-color:#667eea}.media-preview{width:100%;height:200px;background:#e2e8f0;display:flex;align-items:center;justify-content:center;overflow:hidden}.media-preview img{width:100%;height:100%;object-fit:cover}.media-icon{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:#64748b}.media-icon span{font-size:3rem}.media-icon p{margin:0;font-weight:600;text-transform:uppercase;font-size:.875rem}.media-info{padding:1rem;display:flex;justify-content:space-between;align-items:center}.related-count{font-size:.75rem;color:#64748b;background:#e2e8f0;padding:.25rem .5rem;border-radius:4px;font-weight:500}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:9999;padding:2rem;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:2rem;border-bottom:1px solid #e2e8f0}.modal-header h2{margin:0;font-size:1.5rem;color:#1e293b}.btn-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#64748b;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.btn-close:hover{background:#f1f5f9;color:#1e293b}.modal-body{padding:2rem}.upload-preview-container{width:100%;max-height:400px;background:#f8fafc;border-radius:12px;overflow:hidden;margin-bottom:2rem;display:flex;align-items:center;justify-content:center;min-height:250px}.upload-preview-img{max-width:100%;max-height:400px;object-fit:contain}.upload-preview-video{max-width:100%;max-height:400px}.upload-preview-icon{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem}.upload-preview-icon span{font-size:5rem}.upload-preview-icon p{font-size:1.5rem;font-weight:600;color:#64748b;margin:0}.upload-preview-audio{width:100%;margin-top:1rem}.upload-details{display:flex;flex-direction:column;gap:1.5rem}.file-name{font-family:Monaco,Courier New,monospace;font-size:.95rem;color:#1e293b;word-break:break-word}.file-size{font-weight:600;color:#667eea}.upload-actions{display:flex;gap:1rem;justify-content:flex-end;padding-top:1.5rem;border-top:1px solid #e2e8f0;margin-top:.5rem}.upload-actions .btn-primary,.upload-actions .btn-secondary{min-width:120px}.media-preview-large{width:100%;max-height:400px;background:#f8fafc;border-radius:12px;overflow:hidden;margin-bottom:2rem;display:flex;align-items:center;justify-content:center}.media-preview-large img,.media-preview-large video{max-width:100%;max-height:400px;object-fit:contain}.media-preview-large iframe{width:100%;height:400px;border:none}.media-preview-large audio{width:100%}.media-details{display:flex;flex-direction:column;gap:1.5rem}.detail-group{display:flex;flex-direction:column;gap:.5rem}.detail-group label{font-weight:600;color:#475569;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.detail-group input[type=text]{padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s}.detail-group input:focus{outline:none;border-color:#667eea}.url-group{display:flex;gap:.5rem}.url-input{flex:1;font-family:Monaco,Courier New,monospace;font-size:.875rem}.modal-actions{margin-top:1rem;padding-top:1.5rem;border-top:1px solid #e2e8f0;display:flex;gap:1rem;justify-content:flex-end}.modal-actions .btn-primary{background:#16a34a}.modal-actions .btn-primary:hover{background:#15803d;box-shadow:0 4px 12px #16a34a66}.btn-danger{padding:.75rem 1.5rem;background:#dc2626;color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.btn-danger:hover{background:#b91c1c;transform:translateY(-1px);box-shadow:0 4px 12px #dc262666}.pagination{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 0;border-top:1px solid #e2e8f0}.page-info{color:#64748b;font-size:.95rem}.input-with-button{display:flex;align-items:center;justify-content:center;gap:.5rem}.input-with-button input{flex:1;min-height:42px}.input-with-button .btn-secondary-small{white-space:nowrap;flex-shrink:0}.gallery-url-row{display:flex;gap:.5rem;margin-bottom:.5rem;align-items:center}.gallery-url-row input{flex:1}.gallery-url-row .btn-secondary-small{white-space:nowrap;flex-shrink:0}.media-picker-modal{width:90vw;max-width:1200px;max-height:85vh}.modal-tabs{display:flex;border-bottom:2px solid #e2e8f0;margin-bottom:1.5rem}.modal-tabs .tab{flex:1;padding:1rem;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:1rem;font-weight:500;color:#64748b;transition:all .2s}.modal-tabs .tab:hover{color:#1e293b;background:#f8fafc}.modal-tabs .tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.media-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.media-picker-item{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s;border:2px solid #e2e8f0}.media-picker-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.media-picker-item img{width:100%;height:100%;object-fit:cover}.media-picker-item .media-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3rem;background:#f8fafc}.media-picker-overlay{position:absolute;inset:0;background:#3b82f6e6;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}.media-picker-item:hover .media-picker-overlay{opacity:1}.media-picker-overlay span{color:#fff;font-weight:600;font-size:1rem}.upload-section{min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center}.upload-area{width:100%;max-width:500px;padding:3rem;border:2px dashed #cbd5e1;border-radius:12px;text-align:center;cursor:pointer;transition:all .2s}.upload-area:hover{border-color:#3b82f6;background:#f8fafc}.upload-trigger{cursor:pointer;display:block}.upload-icon{font-size:4rem;margin-bottom:1rem}.upload-area p{font-size:1.125rem;font-weight:500;color:#1e293b;margin-bottom:.5rem}.upload-area small{color:#64748b;font-size:.875rem}@media(max-width:768px){.header-actions{flex-direction:column;width:100%}.type-filter,.btn-primary{width:100%}.media-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.media-preview{height:150px}.modal-overlay{padding:1rem}.modal-content{max-height:95vh}.modal-header,.modal-body{padding:1.5rem}.pagination{flex-direction:column;gap:1rem}.pagination .btn-secondary{width:100%}}.related-projects-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.related-project-item{display:flex;flex-direction:column;gap:.25rem;padding:.75rem;background:#f0f9ff;border-left:3px solid #667eea;border-radius:6px;font-size:.95rem}.project-title{font-weight:600;color:#1e293b;word-break:break-word}.project-client{font-size:.85rem;color:#64748b;font-style:italic}.table-wrapper{overflow-x:auto;margin-top:1.5rem}.admin-table{width:100%;border-collapse:collapse;background:var(--bg-card, #1e293b);border-radius:8px;overflow:hidden;font-size:.9rem}.admin-table thead{background:#ffffff0d}.admin-table th{text-align:left;padding:.85rem 1rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted, #94a3b8);border-bottom:1px solid rgba(255,255,255,.08)}.admin-table td{padding:.9rem 1rem;vertical-align:middle;border-bottom:1px solid rgba(255,255,255,.05);color:var(--text-primary, #e2e8f0)}.admin-table tbody tr:last-child td{border-bottom:none}.admin-table tbody tr:hover{background:#ffffff08}.page-title-cell{display:flex;flex-direction:column;gap:.2rem}.page-title-cell strong{color:var(--text-primary, #e2e8f0)}.page-description{font-size:.78rem;color:var(--text-muted, #94a3b8)}.page-url-link{color:var(--accent, #6366f1);text-decoration:none;font-family:monospace;font-size:.85rem}.page-url-link:hover{text-decoration:underline}.date-cell{color:var(--text-muted, #94a3b8);font-size:.85rem}.status-badge{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600}.status-published{background:#22c55e26;color:#4ade80}.status-draft{background:#94a3b81f;color:#94a3b8}.btn-sm{padding:.35rem .8rem;font-size:.8rem}.table-actions{display:inline-flex;align-items:center;gap:.45rem}.confirm-message{margin:0;color:#334155;line-height:1.5}.confirm-dialog{background:#fff;border-radius:12px;width:90%;max-width:420px;padding:1.25rem 1.35rem 1.15rem;box-shadow:0 20px 60px #0000004d}.confirm-dialog-title{margin:0 0 .65rem;font-size:1.05rem;font-weight:600;color:#1e293b}.confirm-dialog-message{margin:0 0 1rem;color:#475569;font-size:.92rem;line-height:1.5}.confirm-dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:.65rem}.confirm-dialog-actions .btn-secondary,.confirm-dialog-actions .btn-danger{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.7rem 1.25rem;font-size:.95rem;line-height:1;font-weight:600}*{box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body{margin:0;padding:0;width:100%;min-height:100%;font-family:"Source Sans 3",sans-serif;font-optical-sizing:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f2f2f2;overflow-x:hidden}.page-content{padding-top:20px}.admin-content{padding:0;margin:0;width:100%;min-height:100vh}@media(max-width:768px){.page-content{padding-top:10px}}
