:root{--gxg-bg:#ffffff;--gxg-text:#11243a;--gxg-muted:#7a8899;--gxg-accent:#b8935f;--gxg-dark:#553813}
.gxg-gallery{--gxg-gold-dark:#b8935f;--gxg-gold-medium:#dcb975;--gxg-orange:#f36d36}
.gxg-gallery{padding:0 0 60px;background:var(--gxg-bg)}
.gxg-container{max-width:1200px;margin:0 auto;padding:0 24px}
.gxg-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.gxg-tab{background:var(--gxg-dark);color:#fff;border:none;border-radius:10px;padding:10px 16px;cursor:pointer;font-weight:600;letter-spacing:.4px}
.gxg-tab.active{background:var(--gxg-dark);color:#fff}
.gxg-tab:hover,.gxg-tab:focus,.gxg-tab:active{background:var(--gxg-dark);color:#fff}
.gxg-panels{position:relative;display:none}
.gxg-panels.active{display:block}
.gxg-panel{display:none}
.gxg-panel.active{display:block}
.gxg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gxg-item{border:1px solid rgba(17,36,58,.08);border-radius:0;overflow:hidden;background:#fff}
.gxg-img{width:100%;height:220px;object-fit:cover;transition:transform .4s ease;border-radius:0}
.gxg-item:hover .gxg-img{transform:scale(1.03)}
@media(max-width:1024px){.gxg-grid{grid-template-columns:repeat(3,1fr)}.gxg-img{height:200px}}
@media(max-width:768px){.gxg-grid{grid-template-columns:repeat(2,1fr)}.gxg-img{height:190px}}
@media(max-width:480px){.gxg-grid{grid-template-columns:1fr}.gxg-img{height:180px}}
/* Carousel */
.gxg-carousel{--visible:4;display:flex;align-items:center;gap:10px}
.gxg-viewport{flex:1;overflow:hidden}
.gxg-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc(100%/var(--visible));gap:14px}
.gxg-arrow{background:var(--gxg-dark);color:#fff;border:none;border-radius:10px;padding:8px 12px;cursor:pointer;font-weight:600}
.gxg-arrow:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1024px){.gxg-carousel{--visible:3}.gxg-img{height:200px}}
@media(max-width:640px){.gxg-carousel{--visible:2}.gxg-img{height:190px}}
/* Lightbox */
.gxg-lightbox{position:fixed;inset:0;background:rgba(28,34,44,.96);display:none;align-items:center;justify-content:center;z-index:9999}
.gxg-lightbox-body{max-width:min(92vw,1100px);max-height:86vh;padding:16px;background:transparent;border-radius:0;display:flex;align-items:center;justify-content:center}
.gxg-lightbox-img{max-width:100%;max-height:80vh;border-radius:0}
.gxg-lightbox-close{position:absolute;top:24px;right:24px;background:transparent;color:rgba(255,255,255,.8);border:none;border-radius:0;width:28px;height:28px;line-height:28px;text-align:center;cursor:pointer;font-weight:700;font-size:22px;box-shadow:none}
.gxg-lightbox-prev,.gxg-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);background:transparent;color:rgba(255,255,255,.8);border:none;border-radius:0;width:auto;height:auto;padding:8px;cursor:pointer;box-shadow:none;font-size:26px}
.gxg-lightbox-prev{left:24px}
.gxg-lightbox-next{right:24px}
.gxg-lightbox-close:hover,.gxg-lightbox-prev:hover,.gxg-lightbox-next:hover{color:rgba(255,255,255,.8);background:transparent}
.gxg-lightbox-close, .gxg-lightbox-prev, .gxg-lightbox-next{outline:none;-webkit-tap-highlight-color:transparent}
.gxg-lightbox-close:focus, .gxg-lightbox-prev:focus, .gxg-lightbox-next:focus{outline:none;box-shadow:none}
.gxg-lightbox-close:active, .gxg-lightbox-prev:active, .gxg-lightbox-next:active{background:transparent;color:rgba(255,255,255,.8)}
.gxg-lightbox-prev:disabled,.gxg-lightbox-next:disabled{opacity:.4;cursor:not-allowed}
/* Sections */
.gxg-sections{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gxg-card{border:2px solid rgba(17,36,58,.15);background:#fff;overflow:hidden;cursor:pointer;transition:all .4s ease}
.gxg-card:hover{transform:translateY(-6px);border-color:rgba(17,36,58,.25)}
.gxg-card-media{height:200px;background:#eee;background-size:cover;background-position:center;position:relative}
.gxg-date-badge{position:absolute;top:12px;left:12px;background:linear-gradient(135deg,var(--gxg-gold-dark),var(--gxg-gold-medium));color:#fff;border-radius:8px;padding:8px 12px;text-align:center;box-shadow:0 2px 8px rgba(184,147,95,0.5);min-width:54px}
.gxg-date-day{display:block;font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:700;line-height:1;margin-bottom:2px}
.gxg-date-month{display:block;font-family:'Inter',sans-serif;font-size:.7rem;font-weight:600;letter-spacing:1px;text-transform:uppercase}
.gxg-card-body{padding:14px}
.gxg-card-title{font-family:'Playfair Display',serif;font-weight:var(--gxg-title-weight,600);font-size:var(--gxg-title-size,1.1rem);color:var(--gxg-title,#00284d);margin:0 0 6px;line-height:1.3}
.gxg-card-desc{font-family:'Inter',sans-serif;color:var(--gxg-desc,#8b7355);font-size:.95rem;line-height:1.5;margin:0}
.gxg-card-actions{margin-top:12px}
.gxg-card-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:8px;background:var(--gxg-orange);color:#fff;text-decoration:none!important;font-family:'Inter',sans-serif;font-size:14px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;box-shadow:0 4px 12px rgba(243,109,54,0.3)}
.gxg-card-btn:hover,.gxg-card-btn:focus{background:var(--gxg-orange);color:#fff;transform:translateY(-2px);box-shadow:0 8px 20px rgba(243,109,54,0.4)}
/* Links (slash separated) */
.gxg-links{margin-bottom:28px;display:flex;flex-wrap:wrap;align-items:center}
.gxg-links a{color:var(--gxg-link,#f36d36);text-decoration:none;font-weight:600}
.gxg-links a.active{color:#553813 !important}
.gxg-links a.active:hover,.gxg-links a.active:focus{color:#553813}
.gxg-links a:hover,.gxg-links a:focus{color:var(--gxg-link,var(--gxg-dark))}
.gxg-links .gxg-slash{margin:0 8px;color:var(--gxg-slash,#dcb975)}
/* Panel-specific links placement */
.gxg-links-panel{display:none;margin:12px 0 24px}
.gxg-panel.active .gxg-links-panel{display:flex}
@media(max-width:1024px){.gxg-sections{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.gxg-sections{grid-template-columns:1fr}}
/* Back */
.gxg-back{display:none}
/* Panel header */
.gxg-panel-head{margin:6px 0 16px}
.gxg-panel-title{font-family:'Playfair Display',serif;font-size:1.6rem;font-weight:600;color:var(--gxg-text);margin:0 0 6px;line-height:1.25}
.gxg-panel-desc{font-family:'Inter',sans-serif;font-size:1rem;color:var(--gxg-desc,#8b7355);line-height:1.6;margin:0}
