.eki-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.eki-post-card{border:1px solid #dedede;border-radius:9px;overflow:hidden;background:#fff;min-width:0;display:flex;flex-direction:column}.eki-card-image img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}.eki-card-content{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}.eki-card-content h3{font-size:1.2em;line-height:1.3;margin:0}.eki-card-content p{margin:0}.eki-card-content time,.eki-meta,.eki-tags{font-size:.82em;color:#555}.eki-readmore{margin-top:auto;display:inline-block}.eki-table-wrap{max-width:100%;overflow-x:auto}.eki-table table{width:100%;border-collapse:collapse}.eki-table th,.eki-table td{border:1px solid #d1d5db;padding:10px;vertical-align:top;min-width:45px}.eki-table th{background:#eaf1f7;font-weight:700}.eki-editor-modal{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center}.eki-editor-dialog{width:min(1100px,96vw);max-height:94vh;background:white;color:#222;display:flex;flex-direction:column;border-radius:8px;box-shadow:0 6px 35px #0005}.eki-editor-bar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;padding:12px;border-bottom:1px solid #ddd}.eki-editor-bar button{border:1px solid #aaa;border-radius:4px;padding:6px 10px;background:#f8f8f8;color:#111;cursor:pointer}.eki-editor-bar button.primary{background:#2063ba;color:white}.eki-editor-grid{overflow:auto;min-height:150px;padding:18px;flex:1}.eki-editor-grid table{border-collapse:collapse;min-width:100%;width:max-content}.eki-editor-grid th,.eki-editor-grid td{border:1px solid #999;padding:8px;min-width:100px;max-width:460px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.eki-editor-grid td:focus,.eki-editor-grid th:focus{outline:2px solid #2271b1}.eki-editor-foot{padding:10px 14px;border-top:1px solid #ddd;display:flex;justify-content:space-between;gap:10px;align-items:center}.eki-editor-note{font-size:12px;color:#555}
@media(max-width:767px){.eki-card-grid{grid-template-columns:1fr}}
/* CKEditor 5 integrated modal */
.eki-ckeditor-modal .eki-editor-dialog{overflow:hidden}
.eki-ckeditor-modal .eki-editor-grid{min-height:350px;overflow:auto}
.eki-ckeditor-modal .eki-editor-grid .ck-editor__editable_inline{min-height:290px;max-height:58vh;overflow:auto}
.eki-ckeditor-modal .eki-editor-grid .ck-content figure.table{width:100%;overflow-x:auto}
.eki-ckeditor-modal .eki-editor-grid .ck-content figure.table table{width:100%;min-width:0;border-collapse:collapse}
.eki-ckeditor-modal .eki-editor-grid .ck-content figure.table td,.eki-ckeditor-modal .eki-editor-grid .ck-content figure.table th{min-width:30px;max-width:none;white-space:normal}
.eki-editor-bar span{font-size:12px;color:#555}
.eki-editor-actions{display:flex;gap:8px;flex-shrink:0}
.eki-editor-actions button{padding:8px 14px;border:1px solid #aaa;background:#f9f9f9;border-radius:4px;cursor:pointer}
.eki-editor-actions button.primary{background:#2271b1;border-color:#2271b1;color:#fff}
.eki-editor-actions button:disabled{opacity:.55;cursor:wait}
.eki-table figure.table{max-width:100%;margin:0;overflow-x:auto}
.eki-table figure.table table{width:100%;border-collapse:collapse}

/* v2.2: CKEditor contextual balloons must appear above Elementor and the editing dialog. */
.eki-ckeditor-modal .ck.ck-balloon-panel{z-index:1000005!important}
body > .ck.ck-balloon-panel,body > .ck-body-wrapper{z-index:1000005!important}
.eki-ckeditor-modal .eki-editor-grid{overflow:visible;min-height:350px}
.eki-ckeditor-modal .eki-editor-dialog{max-height:96vh;overflow:visible}
.eki-ckeditor-modal .ck-editor__top .ck-toolbar{flex-wrap:wrap}
.eki-ckeditor-modal .eki-editor-grid .ck-content figure.table{overflow-x:auto}
.eki-ckeditor-modal .eki-editor-grid .ck-content figure.table table{width:auto;min-width:100%}
.eki-ckeditor-modal .eki-editor-grid .ck-content figure.table table[style*="width"]{min-width:0}
.eki-table figure.table table[style*="width"]{width:revert-layer}
.eki-table col[style]{max-width:none}

/* v2.3 editor controls and high-contrast action buttons */
.eki-ckeditor-modal .eki-editor-actions button[data-action="cancel"]{background:#f1f5f9!important;color:#111827!important;border:1px solid #64748b!important;font-weight:600}
.eki-ckeditor-modal .eki-editor-actions button[data-action="cancel"]:hover{background:#e2e8f0!important}
.eki-ckeditor-modal .eki-style-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 14px;background:#f8fafc;color:#182230;border-bottom:1px solid #cbd5e1}
.eki-ckeditor-modal .eki-style-bar label{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#172033}
.eki-ckeditor-modal .eki-style-bar input[type=color]{width:34px;height:28px;padding:1px;cursor:pointer}
.eki-ckeditor-modal .eki-style-bar input[type=number]{width:46px;height:29px;background:#fff;color:#111}
.eki-ckeditor-modal .eki-style-bar select{height:29px;max-width:110px;background:#fff;color:#111}
.eki-ckeditor-modal .eki-style-bar button{background:#eff6ff;color:#123b69;border:1px solid #8aa4c0;border-radius:4px;padding:6px;cursor:pointer}
.eki-ckeditor-modal .eki-style-bar small{width:100%;font-size:11px;color:#475569}
.eki-table th[style],.eki-table td[style]{/* Inline CKEditor cell formatting should take precedence over Elementor defaults. */}
.eki-table td[style*="border"],.eki-table th[style*="border"]{border:revert-layer}

/* v2.4: cohesive CKEditor toolbar formatting controls */
.eki-ckeditor-modal .eki-native-formats{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;padding:2px 4px;position:relative;color:#1f2937}
.eki-ckeditor-modal .eki-tool-separator{height:25px;width:1px;background:#b9c2cd;margin:0 3px}
.eki-ckeditor-modal .eki-tool-color{display:inline-flex;align-items:center;gap:4px;padding:2px 5px;font-size:12px;font-weight:600;color:#1f2937;background:#fff;border:1px solid #d5dbe5;border-radius:4px}
.eki-ckeditor-modal .eki-tool-color input{width:27px;height:26px;border:0;padding:0;background:transparent;cursor:pointer}
.eki-ckeditor-modal .eki-border-menu{position:relative}
.eki-ckeditor-modal .eki-border-toggle{padding:5px 10px!important;color:#172033!important;background:#fff!important;border:1px solid #d5dbe5!important;cursor:pointer}
.eki-ckeditor-modal .eki-border-popover{position:absolute;z-index:1000012;left:0;top:100%;width:min(380px,88vw);padding:13px;background:white;border:1px solid #aab5c3;box-shadow:0 8px 24px #1115;border-radius:8px;color:#1f2937}
.eki-ckeditor-modal .eki-border-popover[hidden]{display:none!important}
.eki-ckeditor-modal .eki-border-settings{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:12px;margin-bottom:10px}
.eki-ckeditor-modal .eki-border-settings label{display:inline-flex;align-items:center;gap:3px;color:#1f2937}
.eki-ckeditor-modal .eki-border-settings input[type=color]{width:30px;height:26px}
.eki-ckeditor-modal .eki-border-settings input[type=number]{width:46px;color:#111;background:#fff}
.eki-ckeditor-modal .eki-border-settings select{max-width:118px;color:#111;background:#fff}
.eki-ckeditor-modal .eki-border-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}
.eki-ckeditor-modal .eki-border-actions button{background:#f8fafc;color:#14263d;border:1px solid #cbd5e1;border-radius:5px;text-align:left;padding:8px;cursor:pointer}
.eki-ckeditor-modal .eki-border-actions button:hover{background:#e0edfd}
.eki-ckeditor-modal .eki-border-popover small{display:block;color:#475569;margin-top:8px}
.eki-ckeditor-modal .eki-ckeditor-mount .ck.ck-toolbar{overflow:visible}
.eki-ckeditor-modal .eki-ckeditor-mount .ck.ck-toolbar__items{overflow:visible;flex-wrap:wrap!important}

/* v2.5: toolbar buttons, non-reflowing border menu and balloon stacking */
.eki-ckeditor-modal .eki-native-formats{display:contents!important}
.eki-ckeditor-modal .eki-icon-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:2px;width:36px;height:34px;padding:5px!important;background:transparent!important;border:0!important;color:#262e3b!important;cursor:pointer}
.eki-ckeditor-modal .eki-icon-btn:hover{background:#e8eef8!important}
.eki-ckeditor-modal .eki-icon-btn svg{width:19px;height:19px;flex:none}
.eki-ckeditor-modal .eki-chevron{font-size:10px}
.eki-ckeditor-modal .eki-cell-fill{position:relative}
.eki-ckeditor-modal .eki-color-indicator{position:absolute;bottom:1px;left:5px;width:24px;height:3px;background:#fff;border:1px solid #aaa}
.eki-ckeditor-modal .eki-hidden-color-picker{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
body>.eki-floating-popover{position:fixed!important;z-index:2147483000!important;box-sizing:border-box;padding:12px;background:white;color:#1f2937;border:1px solid #aab5c3;border-radius:8px;box-shadow:0 10px 32px #0005;max-height:min(420px,75vh);overflow-y:auto}
body>.eki-floating-popover[hidden]{display:none!important}
body>.eki-floating-popover .eki-border-settings{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;margin-bottom:10px}
body>.eki-floating-popover .eki-border-settings label{display:inline-flex;align-items:center;gap:3px;color:#1f2937}
body>.eki-floating-popover input[type=color]{width:30px;height:26px}
body>.eki-floating-popover input[type=number]{width:48px;background:#fff;color:#111}
body>.eki-floating-popover select{max-width:120px;background:#fff;color:#111}
body>.eki-floating-popover .eki-border-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
body>.eki-floating-popover .eki-border-actions button{background:#f8fafc;color:#14263d;border:1px solid #cbd5e1;border-radius:5px;text-align:left;padding:7px;cursor:pointer}
body>.eki-floating-popover .eki-border-actions button:hover{background:#e0edfd}
body>.eki-floating-popover small{display:block;color:#475569;margin-top:8px}
/* Balloon panels rendered at body level must be higher than the custom editor modal. */
body>.ck-body-wrapper{position:relative!important;z-index:2147482000!important}
body>.ck-body-wrapper .ck-balloon-panel,body>.ck.ck-balloon-panel{z-index:2147482001!important}
.eki-ckeditor-modal .ck.ck-balloon-panel{z-index:2147482001!important}

/* v2.6: compact native-looking toolbar, floating palettes and alignment controls */
.eki-ckeditor-modal .eki-ckeditor-mount .ck-toolbar__items {overflow:visible!important}
body>.eki-color-panel,body>.eki-alignment-panel{width:252px;min-width:220px}
body>.eki-floating-popover strong{display:block;font:600 13px/1.5 system-ui,sans-serif;margin-bottom:10px}
body>.eki-floating-popover .eki-color-controls{display:flex;align-items:center;gap:6px}
body>.eki-floating-popover input[type=text]{min-width:0;width:92px;padding:6px;border:1px solid #94a3b8;border-radius:4px;background:#fff;color:#111827;font:12px monospace}
body>.eki-floating-popover .eki-color-controls button{border:1px solid #64748b;border-radius:5px;background:#f1f5f9;color:#111827;padding:6px;cursor:pointer}
body>.eki-floating-popover .eki-align-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
body>.eki-floating-popover .eki-align-choices button{padding:7px 5px;border:1px solid #cbd5e1;background:#f8fafc;color:#111827;border-radius:4px;cursor:pointer}
body>.eki-floating-popover .eki-align-choices button:hover{background:#e0edfd}
body>.eki-border-popover input[data-eki=border-hex]{width:85px!important}
.eki-ckeditor-modal .eki-icon-btn:focus-visible{outline:2px solid #2563eb!important}

/* v2.7: CKEditor-style compact palettes and icon-only borders */
body>.eki-palette-panel{width:260px;max-width:calc(100vw - 16px);padding:8px!important;overflow:visible!important}
body>.eki-palette-panel .eki-reset-color,body>.eki-palette-panel .eki-custom-color{width:100%;text-align:left;border:0;background:#fff;color:#263447;padding:8px 9px;cursor:pointer;font-size:12px}
body>.eki-palette-panel .eki-reset-color:hover,body>.eki-palette-panel .eki-custom-color:hover{background:#e9f1ff}
body>.eki-palette-panel .eki-palette-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:2px;padding:4px}
body>.eki-palette-panel .eki-palette-grid button{height:22px;min-width:0;padding:0;border:1px solid #ffffff;border-radius:2px;cursor:pointer}
body>.eki-palette-panel .eki-palette-grid button:hover{outline:2px solid #2475c5;z-index:1}
body>.eki-palette-panel .eki-fine-color:not([hidden]){display:flex;flex-wrap:wrap;gap:5px;padding:6px;border-top:1px solid #ddd}
body>.eki-palette-panel .eki-fine-color[hidden]{display:none!important}
body>.eki-border-popover{width:290px!important;padding:8px!important}
body>.eki-border-popover .eki-borders-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;border-bottom:1px solid #ddd;padding-bottom:7px}
body>.eki-border-popover .eki-border-preset{padding:7px 3px;border:0;background:#fff;border-radius:3px;display:flex;justify-content:center;cursor:pointer}
body>.eki-border-popover .eki-border-preset:hover{background:#dceaf9}
body>.eki-border-popover .eki-border-config{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 3px 2px}
body>.eki-border-popover .eki-border-config label{font-size:11px;display:flex;align-items:center;gap:3px}
body>.eki-border-popover .eki-border-color-button{border:0;background:#fff;color:#253447;padding:4px;display:flex;gap:4px;align-items:center;cursor:pointer}
body>.eki-border-popover .eki-border-color-button svg{width:20px;height:20px}
body>.eki-border-popover .eki-border-color-mark{background:#64748b;display:inline-block;width:20px;height:4px}
body>.eki-border-popover .eki-border-config input[type=number]{width:42px}
body>.eki-border-popover .eki-border-config select{max-width:95px}
.eki-ckeditor-modal .eki-icon-btn svg{width:19px;height:19px}

/* v2.8: compact icon-only cell alignment menus */
body>.eki-alignment-panel{width:auto!important;min-width:0!important;padding:7px!important}
body>.eki-alignment-panel .eki-align-choices.eki-icon-choices{display:flex!important;grid-template-columns:none!important;gap:3px!important}
body>.eki-alignment-panel .eki-icon-choices button{min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:6px!important;border:0!important;background:#f3f5f7!important}
body>.eki-alignment-panel .eki-icon-choices button:hover,body>.eki-alignment-panel .eki-icon-choices button:focus-visible{background:#dceaff!important}
body>.eki-alignment-panel .eki-icon-choices svg{display:block;pointer-events:none}

body>.eki-border-popover{width:330px!important;padding:10px!important}
body>.eki-border-popover .eki-border-config{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:center;padding:10px 2px 2px}
body>.eki-border-popover .eki-icon-option{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:1px solid #9ca3af;background:#fff;color:#1f2937;border-radius:4px;cursor:pointer;padding:0 8px}
body>.eki-border-popover .eki-icon-option:hover{background:#eef4fb}
body>.eki-border-popover .eki-icon-option.is-active{background:#dbeafe;border-color:#3b82f6}
body>.eki-border-popover .eki-border-color-button{gap:6px;padding:0 10px}
body>.eki-border-popover .eki-border-color-button svg{width:18px;height:18px}
body>.eki-border-popover .eki-border-width-group, body>.eki-border-popover .eki-border-style-group{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body>.eki-border-popover .eki-width-display{display:inline-flex;align-items:center;gap:5px;border:1px solid #9ca3af;border-radius:4px;height:36px;padding:0 8px;background:#fff}
body>.eki-border-popover .eki-width-display input[type=number]{width:42px;border:0;background:transparent;padding:0 2px;box-shadow:none}
body>.eki-border-popover .eki-width-display span{font-size:12px;color:#475569}
.eki-ckeditor-modal .eki-icon-btn.eki-cell-fill svg{width:20px;height:20px}
.eki-ckeditor-modal .eki-icon-btn.eki-border-toggle svg{width:20px;height:20px}

body>.eki-border-popover{width:360px!important;padding:10px!important}
body>.eki-border-popover .eki-border-config{display:grid;grid-template-columns:56px 132px 132px;gap:10px 12px;align-items:end;padding:10px 2px 2px}
body>.eki-border-popover .eki-border-color-button{width:56px;min-width:56px;padding:0;position:relative}
body>.eki-border-popover .eki-border-color-button svg{width:18px;height:18px}
body>.eki-border-popover .eki-border-color-button .eki-border-color-mark{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);width:22px;height:4px}
body>.eki-border-popover .eki-border-style-button{justify-content:space-between;padding:0 10px;width:132px}
body>.eki-border-popover .eki-border-style-button svg{width:18px;height:18px}
body>.eki-border-popover .eki-border-width-stack{display:grid;grid-template-rows:36px 36px;gap:6px;width:132px}
body>.eki-border-popover .eki-width-display{display:flex;align-items:center;justify-content:space-between;border:1px solid #9ca3af;border-radius:4px;height:36px;padding:0 10px;background:#fff}
body>.eki-border-popover .eki-width-display input[type=number]{width:36px;border:0;background:transparent;padding:0;box-shadow:none;font-size:14px}
body>.eki-border-popover .eki-width-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}
body>.eki-border-popover .eki-width-buttons .eki-icon-option{width:auto;height:36px}
body>.eki-border-style-menu{width:220px!important;padding:6px!important}
body>.eki-border-style-menu button{display:grid;grid-template-columns:26px 1fr 20px;align-items:center;gap:10px;width:100%;border:0;background:#fff;color:#111827;border-radius:6px;padding:10px 10px;cursor:pointer}
body>.eki-border-style-menu button:hover{background:#eef4fb}
body>.eki-border-style-menu button.is-active{background:#dbeafe}
body>.eki-border-style-menu svg{width:20px;height:20px}
body>.eki-border-style-menu .eki-style-check{opacity:0}
body>.eki-border-style-menu button.is-active .eki-style-check{opacity:1;color:#2563eb;font-weight:700}

/* v2.12 refinements to match approved mockup more closely */
body>.eki-border-popover{width:312px!important;padding:10px!important}
body>.eki-border-popover .eki-border-config{display:grid;grid-template-columns:50px 112px 76px;gap:8px 10px;align-items:end;padding:10px 2px 2px}
body>.eki-border-popover .eki-icon-option{height:38px;border:1px solid #a9b2bf;border-radius:4px;background:#fff;color:#1f2937;box-shadow:none}
body>.eki-border-popover .eki-border-color-button{width:50px;min-width:50px;padding:0;position:relative}
body>.eki-border-popover .eki-border-color-button svg{width:19px;height:19px}
body>.eki-border-popover .eki-border-color-button .eki-border-color-mark{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);width:18px;height:4px;border:0;background:#64748b}
body>.eki-border-popover .eki-border-style-button{width:112px;justify-content:space-between;padding:0 10px}
body>.eki-border-popover .eki-border-style-button svg{width:16px;height:16px}
body>.eki-border-popover .eki-border-width-stack{width:76px;display:grid;grid-template-rows:38px 38px;gap:5px}
body>.eki-border-popover .eki-width-display{height:38px;padding:0 8px;border:1px solid #a9b2bf;border-radius:4px;display:flex;align-items:center;justify-content:space-between;background:#fff}
body>.eki-border-popover .eki-width-display input[type=number]{width:28px;font-size:13px;border:0;background:transparent;padding:0;box-shadow:none}
body>.eki-border-popover .eki-width-display span{font-size:12px;color:#475569}
body>.eki-border-popover .eki-width-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px}
body>.eki-border-popover .eki-width-buttons .eki-icon-option{width:35px;min-width:35px;height:38px;padding:0}
body>.eki-border-popover .eki-width-buttons .eki-icon-option svg{width:18px;height:18px}
body>.eki-border-style-menu{width:198px!important;padding:6px!important}
body>.eki-border-style-menu button{grid-template-columns:24px 1fr 18px;padding:8px 9px;border-radius:5px}
body>.eki-border-style-menu svg{width:18px;height:18px}

/* v2.13: single-line, compact controls in the borders dropdown. */
body>.eki-border-popover .eki-border-config{
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:7px!important;
  padding:9px 2px 2px!important;min-width:0!important;
}
body>.eki-border-popover .eki-border-color-button{
  flex:0 0 40px!important;width:40px!important;min-width:40px!important;
  height:36px!important;padding:0!important;
}
body>.eki-border-popover .eki-border-style-button{
  flex:0 0 56px!important;width:56px!important;min-width:56px!important;
  height:36px!important;padding:0 5px!important;gap:3px!important;
}
body>.eki-border-popover .eki-border-style-button svg{width:16px!important;height:16px!important;flex:0 0 auto!important}
body>.eki-border-popover .eki-border-style-button .eki-chevron{font-size:9px!important;flex:0 0 auto!important}
body>.eki-border-popover .eki-border-width-stack{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  gap:5px!important;
}
body>.eki-border-popover .eki-width-display{
  flex:0 0 59px!important;width:59px!important;min-width:59px!important;
  height:36px!important;padding:0 5px!important;
}
body>.eki-border-popover .eki-width-display input[type=number]{width:25px!important;min-width:0!important;font-size:12px!important;-moz-appearance:textfield!important;appearance:textfield!important}
body>.eki-border-popover .eki-width-display input[type=number]::-webkit-inner-spin-button,
body>.eki-border-popover .eki-width-display input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
body>.eki-border-popover .eki-width-display span{font-size:10px!important}
body>.eki-border-popover .eki-width-buttons{
  display:flex!important;flex-flow:column nowrap!important;gap:3px!important;
  width:28px!important;min-width:28px!important;
}
body>.eki-border-popover .eki-width-buttons .eki-icon-option{
  flex:none!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;min-width:28px!important;height:16px!important;min-height:16px!important;
  padding:0!important;border-radius:3px!important;line-height:1!important;
}
body>.eki-border-popover .eki-width-buttons .eki-icon-option svg{
  width:11px!important;height:11px!important;max-width:11px!important;max-height:11px!important;
}

/* v2.14 fixes */
body>.eki-border-popover .eki-width-buttons{display:flex!important;flex-direction:column!important;}

/* v2.15: edit mode switcher and direct toolbar item placement */
.eki-ckeditor-modal .eki-edit-modes{display:flex;gap:3px;border-bottom:1px solid #d5dce5;padding:7px 16px 0;background:#f8fafc}
.eki-ckeditor-modal .eki-edit-modes button{background:transparent;color:#334155;border:1px solid transparent;border-bottom:0;border-radius:5px 5px 0 0;padding:8px 14px;cursor:pointer;font:600 13px system-ui}
.eki-ckeditor-modal .eki-edit-modes button.is-active{background:#fff;color:#155ba0;border-color:#cbd5e1}
.eki-ckeditor-modal .eki-ckeditor-mount[hidden],.eki-ckeditor-modal .eki-code-mount[hidden]{display:none!important}
.eki-ckeditor-modal .eki-code-mount{display:flex;flex-direction:column;gap:8px;min-height:290px}
.eki-ckeditor-modal .eki-code-mount label{font-size:13px;font-weight:600;color:#1f2937}
.eki-ckeditor-modal .eki-code-mount textarea{box-sizing:border-box;width:100%;min-height:290px;max-height:53vh;resize:vertical;border:1px solid #94a3b8;border-radius:5px;background:#fff;color:#111827;padding:12px;font:13px/1.5 Consolas,monospace;tab-size:2;direction:ltr}
.eki-ckeditor-modal .eki-code-mount p{font-size:12px;color:#475569;margin:0}

/* v2.16: unobtrusive inline editing of table text in the Elementor preview */
.eki-table [data-eki-inline-editing="1"]{outline:2px solid #2271b1!important;outline-offset:-2px!important;cursor:text!important;min-height:1em}

/* v2.18 — Cards de postagens: três modelos, layout responsivo e navegação. */
.eki-cards-widget{--eki-card-padding:18px;--eki-card-image-height:190px;--eki-horizontal-image-width:35%;min-width:0}
.eki-cards-widget .eki-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.eki-cards-widget .eki-post-card{min-width:0;position:relative;border:1px solid #dedede;border-radius:9px;background:#fff;display:flex;flex-direction:column;overflow:hidden;height:100%;box-sizing:border-box;transition:box-shadow .18s ease}
.eki-cards-widget .eki-card-content{padding:var(--eki-card-padding);display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;box-sizing:border-box}
.eki-cards-widget .eki-field{display:block;max-width:100%;min-width:0;overflow-wrap:anywhere;margin:0;flex-shrink:0}
.eki-cards-widget .eki-field--title{font-size:1.2em;line-height:1.3}
.eki-cards-widget .eki-field a{color:inherit;text-decoration:inherit}
.eki-cards-widget .eki-field--date,.eki-cards-widget .eki-field--modified,.eki-cards-widget .eki-field--author,.eki-cards-widget .eki-field--tags,.eki-cards-widget .eki-field--categories{font-size:.88em}
.eki-cards-widget .eki-field--excerpt{line-height:1.55}
.eki-cards-widget .eki-field--image{margin:0}
.eki-cards-widget .eki-field--image:first-child{margin:calc(-1 * var(--eki-card-padding)) calc(-1 * var(--eki-card-padding)) 0}
.eki-cards-widget .eki-field--image a,.eki-cards-widget .eki-card-side-media a{display:block;height:100%;width:100%}
.eki-cards-widget .eki-field--image img,.eki-cards-widget .eki-card-side-media img{width:100%;height:var(--eki-card-image-height);object-fit:cover;display:block;max-width:100%;border:0}
.eki-cards-widget .eki-field--button{margin-top:auto;padding-top:6px}
.eki-cards-widget .eki-readmore{display:inline-flex;align-items:center;justify-content:center;text-decoration:underline;font-weight:600}
.eki-cards-widget.eki-layout-horizontal .eki-post-card{flex-direction:row}
.eki-cards-widget.eki-layout-horizontal .eki-card-side-media{flex:0 0 var(--eki-horizontal-image-width);min-width:0;overflow:hidden}
.eki-cards-widget.eki-layout-horizontal .eki-card-side-media .eki-field--image{margin:0;height:100%}
.eki-cards-widget.eki-layout-horizontal .eki-card-side-media img{height:100%;min-height:var(--eki-card-image-height)}
.eki-cards-widget.eki-layout-horizontal .eki-card-content{flex:1;min-width:0}
.eki-cards-widget.eki-layout-compact .eki-card-content{gap:5px}
.eki-cards-widget.eki-layout-compact .eki-field--image{display:none}
.eki-cards-widget .eki-card-overlay-link{position:absolute;inset:0;z-index:1;display:block}
.eki-cards-widget .eki-post-card:has(.eki-card-overlay-link) .eki-field a{position:relative;z-index:2}
.eki-cards-widget .eki-post-card:has(.eki-card-overlay-link):hover{box-shadow:0 4px 18px rgba(0,0,0,.12)}
.eki-cards-widget .eki-cards-nav{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:22px}
.eki-cards-widget .eki-pagination{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}
.eki-cards-widget .eki-pagination button,.eki-cards-widget .eki-load-more{border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#1e293b;cursor:pointer;min-width:36px;min-height:36px;padding:7px 10px;font-family:inherit;font-weight:500;font-size:14px;line-height:1.2}
.eki-cards-widget .eki-pagination button.is-current,.eki-cards-widget .eki-load-more{background:#2271b1;color:#fff;border-color:#2271b1}
.eki-cards-widget button[disabled]{opacity:.5;cursor:not-allowed}
.eki-cards-widget .eki-page-status,.eki-cards-widget .eki-page-ellipsis{font-size:12px;color:#64748b;padding:5px}
.eki-cards-widget .eki-cards-error{color:#b91c1c;font-size:13px;text-align:center}
.eki-cards-widget .eki-empty{grid-column:1/-1;margin:0;color:#64748b;padding:20px 0}
@media(max-width:1024px){.eki-cards-widget .eki-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.eki-cards-widget .eki-card-grid{grid-template-columns:1fr}.eki-cards-widget.eki-layout-horizontal .eki-post-card{flex-direction:column}.eki-cards-widget.eki-layout-horizontal .eki-card-side-media{flex-basis:auto;width:100%}.eki-cards-widget.eki-layout-horizontal .eki-card-side-media img{height:var(--eki-card-image-height)}}

/* v2.20: Per-item color overrides theme/link defaults without affecting image links. */
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"],
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] a,
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] .eki-field-label,
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] span {
    color:var(--eki-item-color)!important;
}

/* 2.22: Native per-repeater color CSS from Elementor is the primary source.
 * Inline custom properties remain a fallback for ordinary/loaded-more cards.
 */
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"],
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] a,
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] a:hover,
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] a:focus,
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] .eki-field-label,
.eki-cards-widget .eki-card-content .eki-field:not(.eki-field--badges)[style*="--eki-item-color"] span {
  color:var(--eki-item-color)!important;
}

/* v2.29 — Term labels: configurable per Tags / Categorias repeater entry. */
.eki-cards-widget .eki-field--badges .eki-term-list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--eki-badge-gap,6px);margin-top:4px}
.eki-cards-widget .eki-field--badges .eki-term-badge,
.eki-cards-widget .eki-field--badges .eki-term-badge:hover,
.eki-cards-widget .eki-field--badges .eki-term-badge:focus{
  display:inline-flex;align-items:center;justify-content:center;min-width:0;
  padding:var(--eki-badge-padding,4px 12px);border-radius:var(--eki-badge-radius,99px);
  border:var(--eki-badge-border-width,0px) solid var(--eki-badge-border,transparent);
  background:var(--eki-badge-bg,#FFB900);color:var(--eki-badge-text,#202020)!important;
  text-decoration:none;line-height:1.25;white-space:normal;overflow-wrap:anywhere;
  transition:filter .15s ease;box-sizing:border-box;
}
/* A cor particular das cápsulas prevalece sobre a cor geral do item.
   O rótulo do item continua seguindo "Cor do texto". */
.eki-cards-widget .eki-card-content .eki-field.eki-field--badges .eki-term-list > .eki-term-badge,
.eki-cards-widget .eki-card-content .eki-field.eki-field--badges .eki-term-list > .eki-term-badge:hover,
.eki-cards-widget .eki-card-content .eki-field.eki-field--badges .eki-term-list > .eki-term-badge:focus{
  color:var(--eki-badge-text,#202020)!important;
}
.eki-cards-widget .eki-field--badges .eki-term-badge:hover{filter:brightness(.92)}
.eki-cards-widget .eki-field--badges .eki-term-badge:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* v2.29 — Element colors are resolved from Elementor Global Colors in PHP and
   via the native Elementor CSS controls. Native palette rules use a specific
   class per deterministic slot (eki-palette-1 through eki-palette-6). */
