/* Mir Dao — independent consent UI, CSS only inside plugin-specific classes. */
.mdcn-banner[hidden], .mdcn-modal-backdrop[hidden] {display:none!important;}
.mdcn-banner, .mdcn-banner *, .mdcn-modal-backdrop, .mdcn-modal-backdrop *, .mdcn-legal-links, .mdcn-legal-links * {box-sizing:border-box;}
.mdcn-banner {position:fixed;bottom:0;left:0;right:0;z-index:2147482990;background:#fff;border-top:1px solid #e6d8de;box-shadow:0 -12px 34px rgba(35,18,29,.18);font-family:inherit;color:#33232e;}
.mdcn-banner__inner {max-width:1220px;margin:0 auto;padding:17px 24px;display:flex;gap:24px;justify-content:space-between;align-items:center;}
.mdcn-banner__copy {flex:1;min-width:260px;}
.mdcn-banner__copy strong {display:block;margin-bottom:3px;color:#34202b;font-size:17px;font-weight:750;}
.mdcn-banner__copy p {margin:0;color:#685b65;font-size:14px;line-height:1.6;}
.mdcn-banner__copy a, .mdcn-modal__policy a {color:#9c003d!important;text-decoration:underline!important;text-underline-offset:3px;}
.mdcn-banner__buttons {display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:flex-end;}
.mdcn-btn {font-family:inherit!important;display:inline-flex;align-items:center;justify-content:center;text-transform:none!important;font-weight:700!important;letter-spacing:0!important;border-radius:7px!important;min-height:42px;padding:9px 14px!important;font-size:13px!important;line-height:1.3!important;border:1px solid transparent;cursor:pointer;transition:background-color .15s ease;box-shadow:none!important;}
.mdcn-btn--primary {background:#940038!important;color:#fff!important;border-color:#940038!important;}
.mdcn-btn--primary:hover {background:#700029!important;color:#fff!important;}
.mdcn-btn--secondary {background:#fff!important;color:#6d1437!important;border-color:#a97c90!important;}
.mdcn-btn--secondary:hover {background:#fbf1f4!important;color:#6d1437!important;}
.mdcn-btn--link {background:transparent!important;color:#790833!important;padding-left:8px!important;padding-right:8px!important;box-shadow:none!important;}
.mdcn-btn--link:hover {background:#f9eaf0!important;color:#790833!important;}
.mdcn-btn:focus-visible, .mdcn-footer-settings:focus-visible,.mdcn-modal__close:focus-visible {outline:3px solid #d385a0!important;outline-offset:2px!important;}
.mdcn-modal-backdrop {position:fixed;inset:0;z-index:2147483000;background:rgba(19,11,17,.6);display:flex;align-items:center;justify-content:center;padding:18px;}
body.mdcn-modal-open {overflow:hidden;}
.mdcn-modal {width:100%;max-width:560px;max-height:calc(100vh - 36px);overflow:auto;background:#fff;color:#33232e;border-radius:14px;padding:26px 29px;box-shadow:0 12px 65px rgba(0,0,0,.28);font-family:inherit;}
.mdcn-modal__head {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;}
.mdcn-modal h2 {font-size:25px!important;line-height:1.25!important;margin:0!important;color:#311d29!important;font-weight:750!important;}
.mdcn-modal__close {font-size:26px!important;width:35px;height:35px;border:0;background:transparent!important;color:#51404a!important;cursor:pointer;border-radius:5px;padding:0!important;box-shadow:none!important;}
.mdcn-modal>p {font-size:14px;line-height:1.55;margin:0 0 15px;color:#6c5f67;}
.mdcn-pref-row {display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e8dade;padding:16px 2px;cursor:pointer;}
.mdcn-pref-row strong {display:block;font-size:15px;color:#34222e;font-weight:750;}
.mdcn-pref-row span span {display:block;font-size:12.5px;color:#6a5b65;line-height:1.5;margin-top:3px;}
.mdcn-pref-row input[type=checkbox] {width:20px;height:20px;min-width:20px;accent-color:#940038;cursor:pointer;}
.mdcn-always {font-size:12px;color:#78646f;font-weight:700;}
.mdcn-modal__policy {margin:7px 0 16px!important;}
.mdcn-modal__actions {display:flex;gap:10px;justify-content:space-between;align-items:center;border-top:1px solid #e8dade;padding-top:17px;}
.mdcn-legal-links {display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 22px;padding:6px 14px;color:#e9dfe4;font-size:13px;line-height:1.7;}
.mdcn-legal-links a {color:#e9dfe4!important;text-decoration:underline!important;text-underline-offset:3px;}
.mdcn-legal-links a:hover {color:#fff!important;}
.mdcn-footer-settings {font:inherit!important;color:#e9dfe4!important;background:transparent!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;min-height:0!important;cursor:pointer;text-decoration:underline!important;text-underline-offset:3px;}
.mdcn-footer-settings:hover {color:#fff!important;background:transparent!important;}
/* If the parent theme has a copyright element hidden by custom CSS, our own links remain visible. */
footer.footer .mdcn-legal-links {width:100%;margin-top:2px;justify-content:center;}
.mdh-home-bottom .mdcn-legal-links {margin-left:auto;justify-content:flex-end;}
/* If no theme footer exists, retain the links in a readable dark footer bar. */
body > .mdcn-legal-links {display:flex;width:100%;background:#262225;min-height:55px;}
@media (max-width:900px) {
  .mdcn-banner__inner {flex-direction:column;align-items:stretch;gap:12px;}
  .mdcn-banner__buttons {justify-content:flex-start;}
}
@media (max-width:640px) {
  .mdcn-banner__inner {padding:15px 16px;}
  .mdcn-banner__copy strong {font-size:15px;}
  .mdcn-banner__copy p {font-size:13px;}
  .mdcn-banner__buttons {gap:7px;}
  .mdcn-banner__buttons .mdcn-btn {flex:1 1 auto;padding:9px 10px!important;}
  .mdcn-modal {padding:22px 18px;}
  .mdcn-modal__actions {flex-direction:column;align-items:stretch;}
  .mdcn-modal__actions .mdcn-btn {width:100%;}
  .mdh-home-bottom .mdcn-legal-links {margin-left:0;justify-content:flex-start;padding-left:0;}
}

/* v1.1.1: Keep the homepage footer brand left and both links grouped right. */
.mdh-home-bottom .mdh-bottom-inner {justify-content:flex-start;}
.mdh-home-bottom .mdh-bottom-inner > div:first-child {margin-right:auto;min-width:0;}
.mdh-home-bottom .mdcn-legal-links {display:flex;width:auto;margin:0;padding:0;gap:26px;justify-content:flex-end;flex-wrap:wrap;align-items:center;}
.mdh-home-bottom .mdcn-legal-links .mdcn-contact-link {color:#fff!important;font-size:14px;}
.mdh-home-bottom .mdcn-legal-links a {white-space:nowrap;font-size:14px;}
/* The site retains a privacy link on every page; preferences live at the top of that policy page. */
.mdcn-policy-manage {background:#fbf6f8;border:1px solid #eed9e2;border-radius:12px;padding:23px 25px;margin:12px 0 28px;max-width:900px;box-shadow:0 8px 24px rgba(35,18,29,.04);}
.mdcn-policy-manage h2 {color:#33232e!important;font-size:23px!important;line-height:1.3!important;margin:0 0 10px!important;font-weight:700!important;}
.mdcn-policy-manage p {color:#6b5a65;font-size:15px;line-height:1.6;margin:0 0 17px;}
.mdcn-policy-manage__button {background:#940038!important;color:#fff!important;border:1px solid #940038!important;border-radius:7px!important;padding:10px 16px!important;font-size:14px!important;font-weight:700!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer;}
.mdcn-policy-manage__button:hover {background:#700029!important;color:#fff!important;}
.mdcn-policy-manage__button:focus-visible {outline:3px solid #d385a0!important;outline-offset:3px;}
@media (max-width:680px) {
  .mdh-home-bottom .mdh-bottom-inner {align-items:flex-start;gap:15px;}
  .mdh-home-bottom .mdh-bottom-inner > div:first-child {margin-right:0;}
  .mdh-home-bottom .mdcn-legal-links {margin:0;gap:10px 20px;justify-content:flex-start;}
  .mdcn-policy-manage {padding:18px 16px;}
}
