/* COP31 Delegation – compact four-column profile cards */
.cop31-delegation{--cop31-gold:#D4AF37;--cop31-blue:#1F5FBF;--cop31-card:#171717;--cop31-muted:#B8B8B8;--cop31-bg:#080808;color:#fff}
.cop31-delegation__title{text-align:center;font-size:42px;color:#fff;margin:0 0 12px}
.cop31-delegation__subtitle{text-align:center;color:var(--cop31-muted);max-width:760px;margin:0 auto 36px}
.cop31-grid{display:grid;gap:22px;justify-content:center;align-items:stretch;width:100%;margin-inline:auto}
.cop31-card{position:relative;display:flex;flex-direction:column;min-width:0;box-sizing:border-box;background:var(--cop31-card);border:1px solid #2a2a2a;border-radius:8px;padding:18px;text-align:left;box-shadow:0 4px 18px rgba(0,0,0,.18);transition:transform .2s,border-color .2s,box-shadow .2s}
.cop31-card:hover{transform:translateY(-4px);border-color:var(--cop31-gold);box-shadow:0 10px 26px rgba(0,0,0,.25)}
.cop31-card__top{display:flex;gap:14px;align-items:flex-start;min-width:0}
.cop31-card__portrait{position:relative;display:block;width:var(--cop31-portrait-height,108px);height:var(--cop31-portrait-height,108px);border-radius:5px;background:var(--cop31-blue);overflow:hidden;flex:0 0 auto}
.cop31-card__portrait img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.cop31-card__placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:38px;color:#fff;opacity:.75}
.cop31-card__chip{display:inline-block;max-width:calc(100% - var(--cop31-portrait-height,108px) - 14px);margin-top:6px;padding:5px 10px;border-radius:5px;background:rgba(212,175,55,.16);color:var(--cop31-gold);font-size:11px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.cop31-card__chip--badge{background:var(--cop31-badge-bg,var(--cop31-gold));color:var(--cop31-badge-color,#080808)}
.cop31-card__name{font-size:19px;font-weight:800;color:#fff;margin:14px 0 4px;line-height:1.3}
.cop31-card__position{color:var(--cop31-muted);font-size:14px;line-height:1.45;margin:0 0 10px;min-height:41px}
.cop31-card__meta{margin-bottom:16px}
.cop31-card__meta-row{display:flex;gap:9px;align-items:flex-start;color:var(--cop31-muted);font-size:13px;line-height:1.4;margin:8px 0}
.cop31-card__meta-row svg{width:18px;height:18px;flex:0 0 18px;fill:var(--cop31-gold);margin-top:1px}
.cop31-card__meta-row--strong{color:#fff;font-weight:600}
.cop31-btn{display:inline-block;background:var(--cop31-gold);color:#080808!important;font-size:11px;font-weight:600;line-height:1.2;padding:7px 10px;border-radius:5px;text-decoration:none!important;transition:background .2s,color .2s}
.cop31-card>.cop31-card__button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;margin-top:auto;padding:12px 36px 12px 14px;border-radius:6px;font-size:14px;font-weight:700}
.cop31-card__button svg{width:16px;height:16px;flex:0 0 16px;fill:currentColor}.cop31-card__button .cop31-card__qr-icon{position:absolute;right:12px;width:20px;height:20px}
.cop31-btn:hover{background:var(--cop31-blue);color:#fff!important}
.cop31-empty{grid-column:1/-1;text-align:center;color:var(--cop31-muted);padding:40px 0}
@media(max-width:1100px){.cop31-grid--3,.cop31-grid--4,.cop31-grid--5,.cop31-grid--6{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:620px!important}}
@media(max-width:640px){.cop31-grid{grid-template-columns:minmax(0,1fr)!important;max-width:360px!important}.cop31-card{padding:16px}.cop31-card__position{min-height:0}}
.cop31-single{display:flex;gap:32px;align-items:flex-start;margin-bottom:32px;flex-wrap:wrap}
.cop31-single__portrait{flex:0 0 280px}
.cop31-single__portrait img{width:100%;border-radius:12px;border:3px solid #D4AF37}
.cop31-single__meta{flex:1;min-width:240px}

/* ---- Profile portrait ribbon ---- */
.cop31-card__badge{position:absolute;top:14px;left:-34px;transform:rotate(-45deg);background:var(--cop31-gold);color:#080808;font-size:11px;font-weight:700;letter-spacing:1px;padding:5px 40px;z-index:2;box-shadow:0 2px 8px rgba(0,0,0,.4)}
.cop31-btn--outline{background:transparent;color:var(--cop31-gold)!important;border:2px solid var(--cop31-gold)}
.cop31-btn--outline:hover{background:var(--cop31-gold);color:#080808!important}

/* ---- Single profile page ---- */
.cop31-profile{background:#080808;color:#fff;min-height:70vh}
.cop31-profile__inner{max-width:1200px;margin:0 auto;padding:0 32px}
.cop31-profile__inner--narrow{max-width:860px}
.cop31-profile__hero{padding:60px 0 70px;background:linear-gradient(180deg,#0f0f0f 0%,#080808 100%);border-bottom:1px solid #1f1f1f}
.cop31-profile__hero--archive{text-align:center}
.cop31-profile__back{display:inline-block;color:var(--cop31-muted);text-decoration:none;font-size:14px;margin-bottom:32px}
.cop31-profile__back:hover{color:var(--cop31-gold)}
.cop31-profile__grid{display:grid;grid-template-columns:360px 1fr;gap:56px;align-items:start}
@media(max-width:860px){.cop31-profile__grid{grid-template-columns:1fr;gap:32px}.cop31-profile__portrait{max-width:360px}}
.cop31-profile__portrait{aspect-ratio:4/5;border-radius:16px;overflow:hidden;border:3px solid var(--cop31-gold);box-shadow:0 20px 60px rgba(212,175,55,.15);background:#111}
.cop31-profile__portrait img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.cop31-profile__eyebrow{display:block;color:var(--cop31-gold);font-size:13px;font-weight:600;letter-spacing:2px;text-transform:uppercase;margin-bottom:14px}
.cop31-profile__name{font-size:48px;font-weight:700;color:#fff;line-height:1.15;margin:0 0 14px}
.cop31-profile__role{font-size:18px;color:var(--cop31-gold);font-weight:600;text-transform:uppercase;letter-spacing:1px;margin-bottom:14px}
.cop31-profile__org{color:var(--cop31-muted);font-size:16px;line-height:1.7;margin:0 0 22px}
.cop31-profile__lead{color:#e6e6e6;font-size:18px;line-height:1.7;margin:0 0 28px;max-width:640px}
.cop31-profile__actions{display:flex;flex-wrap:wrap;gap:12px}
.cop31-profile__bio{padding:70px 0}
.cop31-profile__content{color:#d8d8d8;font-size:17px;line-height:1.85}
.cop31-profile__content p{margin:0 0 20px}
.cop31-profile__content h2,.cop31-profile__content h3{color:#fff;margin:32px 0 12px}
.cop31-profile__related{padding:60px 0 90px;background:#0c0c0c;border-top:1px solid #1f1f1f}
.cop31-profile__related .cop31-delegation__title{font-size:32px}

/* ---- v1.2: badge colours, QR, standalone layout ---- */
.cop31-card__badge{background:var(--cop31-badge-bg,var(--cop31-gold));color:var(--cop31-badge-color,#080808);left:-42px;padding:5px 44px;white-space:nowrap;max-width:none;font-size:9px;letter-spacing:.6px}
.cop31-profile__portrait{position:relative}
.cop31-profile__portrait .cop31-card__badge{top:22px;left:-44px;font-size:11px;padding:6px 52px}
.cop31-profile__grid--qr{grid-template-columns:360px 1fr 220px}
@media(max-width:1100px){.cop31-profile__grid--qr{grid-template-columns:360px 1fr}.cop31-profile__qr{grid-column:1/-1}}
@media(max-width:860px){.cop31-profile__grid--qr{grid-template-columns:1fr}}
.cop31-qr{display:inline-flex;flex-direction:column;align-items:center;gap:10px;background:#fff;border:3px solid var(--cop31-gold);border-radius:14px;padding:16px 16px 14px;color:#080808;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.cop31-qr__label{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#080808}
.cop31-qr__code img,.cop31-qr__code canvas{display:block;width:100%;height:100%}
.cop31-qr__url{font-size:11px;color:#555;margin:0;word-break:break-all;text-align:center;max-width:200px}
.cop31-qr .cop31-btn{padding:8px 16px;font-size:13px}
.cop31-qr .cop31-btn--outline{color:#080808!important;border-color:#080808}
.cop31-qr .cop31-btn--outline:hover{background:#080808;color:#fff!important}
#cop31_delegate_qr .cop31-qr{box-shadow:none;border-width:2px;width:100%;box-sizing:border-box}
.cop31-standalone{margin:0;background:#080808;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.cop31-standalone-html{background:#080808}
.cop31-topbar{background:#0f0f0f;border-bottom:1px solid #1f1f1f;position:sticky;top:0;z-index:50}
.cop31-topbar__inner{max-width:1200px;margin:0 auto;padding:14px 32px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.cop31-topbar__brand{color:#fff;font-weight:700;letter-spacing:1px;text-decoration:none;text-transform:uppercase}
.cop31-topbar__flag{color:#1F5FBF;margin-right:6px}
.cop31-topbar__nav{display:flex;gap:18px;flex-wrap:wrap;flex:1}
.cop31-topbar__nav a{color:var(--cop31-muted);text-decoration:none;font-size:14px}
.cop31-topbar__nav a:hover{color:var(--cop31-gold)}
.cop31-topbar__cop{color:var(--cop31-gold);font-size:14px}
.cop31-topbar__cop small{color:var(--cop31-muted);margin-left:4px;letter-spacing:1px}
.cop31-footer{background:#0f0f0f;border-top:1px solid #1f1f1f;padding:28px 32px;text-align:center;color:var(--cop31-muted);font-size:13px}

/* ---- Profile overview: portrait + QR left, identity + details right ---- */
.cop31-delegate-page .cop31-profile{width:100%;max-width:none}
.cop31-profile--v2 .cop31-profile__head{padding:34px 0 64px;background:#0a0a0a;border-bottom:1px solid #1f1f1f;text-align:left}
.cop31-profile--v2 .cop31-profile__head .cop31-profile__back{margin-bottom:26px}
.cop31-profile__overview-grid{display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:clamp(36px,5vw,72px);align-items:start;max-width:1200px;margin:0 auto}
.cop31-profile__media-column{display:flex;flex-direction:column;gap:32px;min-width:0}
.cop31-profile__portrait--hero{width:100%;max-width:300px;aspect-ratio:4/5;border-width:2px;border-radius:14px;box-shadow:0 14px 38px rgba(212,175,55,.14)}
.cop31-profile__hero-qr{box-sizing:border-box;width:100%;padding:18px;background:#111;border:1px solid #292929;border-radius:14px}
.cop31-profile__hero-qr .cop31-qr{box-sizing:border-box;width:100%;padding:16px 14px 14px;gap:9px;box-shadow:none}
.cop31-profile__hero-qr .cop31-qr__code{width:220px;height:220px;max-width:100%;aspect-ratio:1;margin:auto}
.cop31-profile__hero-qr .cop31-qr__url{font-size:10px;max-width:100%}
.cop31-profile__overview-main{min-width:0}
.cop31-profile__hero-copy{min-width:0;padding:clamp(28px,4vw,48px);background:linear-gradient(135deg,#111,#0c0c0c);border:1px solid #292929;border-radius:14px}
.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__eyebrow{margin-bottom:15px}
.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__name{font-size:clamp(28px,3.1vw,40px);line-height:1.12;margin-bottom:14px;max-width:760px}
.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__role{font-size:16px;margin-bottom:10px;max-width:820px}
.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__org{margin:0;font-size:15px}
.cop31-profile__body{padding:32px 0 0}
.cop31-profile__lead{margin-bottom:32px}
.cop31-details{background:var(--cop31-card);border:1px solid #2a2a2a;border-radius:14px;padding:28px 32px 30px;margin-bottom:40px}
.cop31-details__title,.cop31-bio__title{font-size:14px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--cop31-gold);margin:0 0 20px}
.cop31-details__list{display:grid;grid-template-columns:200px 1fr;row-gap:12px;column-gap:20px;margin:0}
@media(max-width:600px){.cop31-details__list{grid-template-columns:1fr;row-gap:4px}.cop31-details__list dd{margin-bottom:12px}}
.cop31-details__list dt{color:var(--cop31-muted);font-size:13px;text-transform:uppercase;letter-spacing:1px;font-weight:600;padding-top:2px}
.cop31-details__list dd{margin:0;color:#fff;font-size:16px;line-height:1.6}
.cop31-details__list dd a{color:var(--cop31-gold);text-decoration:none;word-break:break-all}
.cop31-details__list dd a:hover{text-decoration:underline}
.cop31-details .cop31-profile__actions{margin-top:24px;padding-top:22px;border-top:1px solid #2a2a2a}
.cop31-bio{padding-bottom:16px}.cop31-bio .cop31-profile__content{font-size:17px}
@media(max-width:920px){
	.cop31-profile--v2 .cop31-profile__head{padding:28px 0 48px}.cop31-profile--v2 .cop31-profile__head .cop31-profile__back{margin-bottom:20px}
	.cop31-profile__overview-grid{grid-template-columns:minmax(200px,240px) minmax(0,1fr);gap:32px}
	.cop31-profile__portrait--hero{max-width:240px}
	.cop31-profile__hero-qr{padding:14px}.cop31-profile__hero-qr .cop31-qr__code{width:180px;height:180px}
	.cop31-profile__hero-copy{padding:28px}.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__name{font-size:clamp(27px,4vw,34px)}
	.cop31-details__list{grid-template-columns:160px 1fr}
}
@media(max-width:720px){
	.cop31-profile--v2 .cop31-profile__head{padding:24px 0 40px}.cop31-profile__overview-grid{grid-template-columns:1fr;gap:30px}
	.cop31-profile__media-column{width:min(100%,240px);margin:0 auto;gap:24px}
	.cop31-profile__hero-copy{text-align:center;padding:26px 22px}.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__name{font-size:30px}
	.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__eyebrow{font-size:11px;letter-spacing:1.5px}.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__role{font-size:14px}
	.cop31-profile__body{padding-top:24px}
}
@media(max-width:480px){
	.cop31-profile__hero-qr{padding:12px}.cop31-profile__hero-qr .cop31-qr{border-width:2px;border-radius:11px;padding:12px 10px 10px}
	.cop31-profile__hero-qr .cop31-qr__code{width:180px;height:180px}
	.cop31-profile--v2 .cop31-profile__hero-copy .cop31-profile__name{font-size:28px}
	.cop31-details{padding:24px 20px}
}

/* =====================================================================
   v1.3: Light & Green theme  (.cop31-theme-light on profile pages / grids)
   ===================================================================== */
.cop31-theme-light{--cop31-green:#1B7F4C;--l-bg:#F5FAF6;--l-bg2:#FFFFFF;--l-card:#FFFFFF;--l-line:#DCE8DF;--l-text:#15211A;--l-muted:#5C6E63;--l-soft:#E8F4EC}
.cop31-theme-light.cop31-profile,.cop31-profile.cop31-theme-light{background:var(--l-bg);color:var(--l-text)}
.cop31-theme-light .cop31-profile__head{background:var(--l-bg2);border-bottom:1px solid var(--l-line)}
.cop31-theme-light .cop31-profile__hero{background:linear-gradient(180deg,var(--l-soft),var(--l-bg));border-bottom:1px solid var(--l-line)}
.cop31-theme-light .cop31-profile__hero-copy{background:linear-gradient(135deg,var(--l-soft),var(--l-bg));border-color:var(--l-line)}
.cop31-theme-light .cop31-profile__hero-qr{background:var(--l-soft);border-color:var(--l-line)}
.cop31-theme-light .cop31-profile__eyebrow,.cop31-theme-light .cop31-details__title,.cop31-theme-light .cop31-bio__title{color:var(--cop31-green)}
.cop31-theme-light .cop31-profile__name{color:var(--l-text)}
.cop31-theme-light .cop31-profile__role{color:var(--cop31-green)}
.cop31-theme-light .cop31-profile__org,.cop31-theme-light .cop31-profile__back{color:var(--l-muted)}
.cop31-theme-light .cop31-profile__back:hover{color:var(--cop31-green)}
.cop31-theme-light .cop31-profile__lead,.cop31-theme-light .cop31-profile__content{color:#2A3A30}
.cop31-theme-light .cop31-profile__content h2,.cop31-theme-light .cop31-profile__content h3{color:var(--l-text)}
.cop31-theme-light .cop31-profile__portrait{border-color:var(--cop31-green);box-shadow:0 16px 40px rgba(27,127,76,.18);background:var(--l-soft)}
.cop31-theme-light .cop31-details{background:var(--l-card);border-color:var(--l-line);box-shadow:0 6px 24px rgba(21,33,26,.06)}
.cop31-theme-light .cop31-details__list dt{color:var(--l-muted)}
.cop31-theme-light .cop31-details__list dd{color:var(--l-text)}
.cop31-theme-light .cop31-details__list dd a{color:var(--cop31-green)}
.cop31-theme-light .cop31-details .cop31-profile__actions{border-top-color:var(--l-line)}
.cop31-theme-light .cop31-profile__related{background:var(--l-bg2);border-top:1px solid var(--l-line)}
.cop31-theme-light .cop31-delegation__title{color:var(--l-text)}
.cop31-theme-light .cop31-delegation__subtitle,.cop31-theme-light .cop31-empty{color:var(--l-muted)}
/* buttons + badge */
.cop31-theme-light .cop31-btn{background:var(--cop31-green);color:#fff!important}
.cop31-theme-light .cop31-btn:hover{background:#146239;color:#fff!important}
.cop31-theme-light .cop31-btn--outline{background:transparent;color:var(--cop31-green)!important;border-color:var(--cop31-green)}
.cop31-theme-light .cop31-btn--outline:hover{background:var(--cop31-green);color:#fff!important}
.cop31-theme-light .cop31-card__badge{background:var(--cop31-green);color:#fff}
/* QR */
.cop31-theme-light .cop31-qr{border-color:var(--cop31-green);box-shadow:0 8px 24px rgba(27,127,76,.15)}
.cop31-theme-light .cop31-qr__label{color:var(--cop31-green)}
/* cards */
.cop31-theme-light .cop31-card{background:#fff;border-color:var(--l-line);box-shadow:0 1px 6px rgba(13,92,61,.09)}
.cop31-theme-light .cop31-card:hover{border-color:var(--cop31-green);box-shadow:0 9px 24px rgba(13,92,61,.13)}
.cop31-theme-light .cop31-card__portrait{background:#4189dd}
.cop31-theme-light .cop31-card__name{color:#0d5c3d}
.cop31-theme-light .cop31-card__position,.cop31-theme-light .cop31-card__meta-row{color:var(--l-muted)}
.cop31-theme-light .cop31-card__meta-row--strong{color:#1f3a2e}
.cop31-theme-light .cop31-card__meta-row svg{fill:var(--cop31-green)}
.cop31-theme-light .cop31-card__chip{background:#e7efc9;color:#2d5a1e}
.cop31-theme-light .cop31-card__chip--badge{background:var(--cop31-green);color:#fff}
.cop31-theme-light .cop31-card__placeholder{color:#fff}
.cop31-theme-light .cop31-card__button{background:var(--cop31-green);color:#fff!important}
.cop31-theme-light .cop31-card__button:hover{background:#0a4a31;color:#fff!important}

/* ---- Configurable card content sizing ---- */
.cop31-card-size--regular .cop31-card__name{font-size:20px}.cop31-card-size--regular .cop31-card__position{font-size:15px}.cop31-card-size--regular .cop31-card__meta-row{font-size:14px}
.cop31-card-size--large .cop31-card__name{font-size:21px}.cop31-card-size--large .cop31-card__position{font-size:16px}.cop31-card-size--large .cop31-card__meta-row{font-size:14.5px}
/* standalone header / footer, light */
.cop31-standalone--light{background:#F5FAF6}
.cop31-standalone--light .cop31-topbar{background:#fff;border-bottom-color:#DCE8DF}
.cop31-standalone--light .cop31-topbar__brand{color:#15211A}
.cop31-standalone--light .cop31-topbar__flag{color:#1B7F4C}
.cop31-standalone--light .cop31-topbar__nav a{color:#5C6E63}
.cop31-standalone--light .cop31-topbar__nav a:hover,.cop31-standalone--light .cop31-topbar__cop{color:#1B7F4C}
.cop31-standalone--light .cop31-footer{background:#fff;border-top-color:#DCE8DF;color:#5C6E63}

/* ---- compact "More from …" cards ---- */
.cop31-delegation--compact .cop31-delegation__title{font-size:22px!important;margin-bottom:22px}
.cop31-delegation--compact .cop31-grid{gap:16px}
.cop31-delegation--compact .cop31-card{padding:12px;border-radius:8px}
.cop31-delegation--compact .cop31-card__portrait{width:82px;height:82px}
.cop31-delegation--compact .cop31-card__chip{max-width:calc(100% - 96px);font-size:9px;padding:4px 7px}
.cop31-delegation--compact .cop31-card__name{font-size:15px;margin:10px 0 3px}
.cop31-delegation--compact .cop31-card__position{font-size:12px;min-height:0;margin-bottom:6px}
.cop31-delegation--compact .cop31-card__meta-row{font-size:11px;margin:5px 0}.cop31-delegation--compact .cop31-card__meta{margin-bottom:10px}
.cop31-delegation--compact .cop31-card__button{padding:8px 30px 8px 10px;font-size:11px}
.cop31-delegation--compact .cop31-card:hover{transform:translateY(-3px)}
.cop31-profile__related:has(.cop31-delegation--compact){padding:44px 0 60px}

/* ---- v1.4 Delegate ID ---- */
.cop31-profile__id{display:inline-block;margin-top:14px;padding:6px 14px;border-radius:999px;font-size:13px;letter-spacing:1px;background:rgba(212,175,55,.12);color:var(--cop31-gold);border:1px solid rgba(212,175,55,.35)}
.cop31-profile__id b{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;letter-spacing:1.5px}
.cop31-theme-light .cop31-profile__id{background:#E8F4EC;color:var(--cop31-green);border-color:#BFDCC8}
.cop31-id,.cop31-card__id{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:1.5px;font-weight:700}
.cop31-details__list dd .cop31-id{background:transparent;color:var(--cop31-gold);padding:0;font-size:16px}
.cop31-theme-light .cop31-details__list dd .cop31-id{color:var(--cop31-green)}
.cop31-card__id{display:block;font-size:9px;color:var(--cop31-gold);margin:-4px 0 10px}
.cop31-theme-light .cop31-card__id{color:var(--cop31-green)}

/* ---- v1.6 Related Events + Documents ---- */
.cop31-profile__resources{padding:48px 0 58px;background:#0c0c0c;border-top:1px solid #1f1f1f}
.cop31-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.cop31-resources--single{grid-template-columns:minmax(0,1fr);max-width:760px;margin:0 auto}
.cop31-resource-panel{background:#141414;border:1px solid #2a2a2a;border-radius:16px;padding:24px;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.cop31-resource-panel__head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.cop31-resource-panel__head h2{display:flex;align-items:center;gap:12px;color:#fff;font-size:25px;line-height:1.2;margin:0}
.cop31-resource-panel__head h2 span{color:var(--cop31-gold);font-size:25px;font-weight:400}
.cop31-resource-panel__head>a{color:var(--cop31-gold);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.cop31-resource-panel__head>a:hover{text-decoration:underline}
.cop31-resource-list{display:flex;flex-direction:column;gap:12px}
.cop31-event-item,.cop31-document-item{display:grid;align-items:center;gap:16px;border:1px solid #303030;border-radius:11px;background:#191919;padding:14px 16px;min-width:0}
.cop31-event-item{grid-template-columns:76px minmax(0,1fr) auto}
.cop31-document-item{grid-template-columns:48px minmax(0,1fr) auto}
.cop31-event-date{width:62px;min-height:78px;border-radius:10px;background:rgba(212,175,55,.10);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--cop31-gold);line-height:1.05;text-align:center}
.cop31-event-date span{font-size:13px;font-weight:800;letter-spacing:.5px}.cop31-event-date strong{font-size:30px}.cop31-event-date small{font-size:13px;color:var(--cop31-muted);margin-top:5px}
.cop31-event-date--empty strong{font-size:24px}.cop31-event-date--empty small{font-size:10px;letter-spacing:1px}
.cop31-event-item__content,.cop31-document-item__content{min-width:0}
.cop31-event-item__content h3,.cop31-document-item__content h3{color:#fff;font-size:18px;line-height:1.3;margin:0 0 7px;overflow-wrap:anywhere}
.cop31-event-item__content p,.cop31-document-item__content p{color:var(--cop31-muted);font-size:13px;line-height:1.45;margin:2px 0}
.cop31-resource-button{display:inline-flex;align-items:center;justify-content:center;min-width:116px;background:var(--cop31-gold);border:2px solid var(--cop31-gold);border-radius:8px;color:#080808!important;font-size:13px;font-weight:700;line-height:1.2;padding:10px 14px;text-decoration:none!important;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.cop31-resource-button:hover{background:var(--cop31-blue);border-color:var(--cop31-blue);color:#fff!important}
.cop31-resource-button--outline{background:transparent;color:var(--cop31-gold)!important}
.cop31-resource-button--outline:hover{background:var(--cop31-gold);border-color:var(--cop31-gold);color:#080808!important}
.cop31-document-type{display:flex;align-items:center;justify-content:center;width:46px;height:58px;border-radius:7px;background:#385a89;color:#fff;font-size:11px;font-weight:800;letter-spacing:.3px;overflow:hidden}
.cop31-document-type--pdf{background:#f22f36}
.cop31-theme-light .cop31-profile__resources{background:#edf7f3;border-top-color:var(--l-line)}
.cop31-theme-light .cop31-resource-panel{background:#fff;border-color:var(--l-line);box-shadow:0 8px 28px rgba(21,33,26,.06)}
.cop31-theme-light .cop31-resource-panel__head h2,.cop31-theme-light .cop31-event-item__content h3,.cop31-theme-light .cop31-document-item__content h3{color:#0d5066}
.cop31-theme-light .cop31-resource-panel__head h2 span,.cop31-theme-light .cop31-resource-panel__head>a{color:#086c50}
.cop31-theme-light .cop31-event-item,.cop31-theme-light .cop31-document-item{background:#fff;border-color:#d5e7e0}
.cop31-theme-light .cop31-event-date{background:#edf8f4;color:#086c50}
.cop31-theme-light .cop31-event-date small,.cop31-theme-light .cop31-event-item__content p,.cop31-theme-light .cop31-document-item__content p{color:#557180}
.cop31-theme-light .cop31-resource-button{background:#087a5b;border-color:#087a5b;color:#fff!important}
.cop31-theme-light .cop31-resource-button:hover{background:#065f47;border-color:#065f47}
.cop31-theme-light .cop31-resource-button--outline{background:#fff;color:#087a5b!important;border-color:#63bea2}
.cop31-theme-light .cop31-resource-button--outline:hover{background:#087a5b;border-color:#087a5b;color:#fff!important}
@media(max-width:1000px){.cop31-resources{grid-template-columns:1fr}.cop31-resources--single{max-width:none}}
@media(max-width:620px){
	.cop31-profile__resources{padding:34px 0 42px}.cop31-profile__inner{padding-left:18px;padding-right:18px}.cop31-resource-panel{padding:18px 14px}
	.cop31-resource-panel__head{align-items:flex-start;flex-direction:column;gap:8px}.cop31-resource-panel__head h2{font-size:21px}
	.cop31-event-item,.cop31-document-item{grid-template-columns:66px minmax(0,1fr);padding:12px;gap:12px}
	.cop31-document-item{grid-template-columns:48px minmax(0,1fr)}.cop31-event-date{width:58px}
	.cop31-event-item .cop31-resource-button,.cop31-document-item .cop31-resource-button{grid-column:1/-1;width:100%;box-sizing:border-box}
}
