/*
Theme Name: Mercedes-Benz Club Ukraine Archive Restore
Theme URI: https://mercedes-club.org/
Description: Kadence child theme that recreates the 2012 Mercedes-Benz Club Ukraine layout and progressively restores archived pages/forum content from Web Archive while localizing archived images and removing ads/external links.
Author: OpenAI
Template: kadence
Version: 1.0.5
Text Domain: mclub-restore
*/

:root{--mclub-bg:#e4e4e4;--mclub-panel:#fff;--mclub-footer:#d1d1d1;--mclub-text:#595959;--mclub-border:#c7c7c7;--mclub-link:#476da8;}
html{overflow-x:hidden}body.mclub-custom-layout{margin:0;background:var(--mclub-bg);color:var(--mclub-text);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.35}.mclub-custom-layout .site-header,.mclub-custom-layout #masthead,.mclub-custom-layout .site-footer,.mclub-custom-layout #colophon{display:none!important}
.mclub-shell{width:950px;max-width:calc(100% - 24px);min-height:100vh;margin:0 auto;background:var(--mclub-bg)}
.mclub-top{height:100px;display:flex;align-items:flex-start;position:relative}.mclub-logo{width:170px;height:100px;object-fit:contain;display:block}.mclub-top-right{flex:1;display:flex;justify-content:flex-end;align-items:flex-start}.mclub-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:stretch;margin:0;padding:0;list-style:none}.mclub-nav li{margin:0;padding:0}.mclub-nav a{display:block;padding:5px 19px 6px;background:#ececec;border-left:1px solid var(--mclub-border);border-bottom:1px solid var(--mclub-border);color:#555;text-decoration:none;font-weight:700;font-size:13px;white-space:nowrap}.mclub-nav li:last-child a{border-right:1px solid var(--mclub-border)}.mclub-nav a:hover,.mclub-nav .is-current a{background:#f7f7f7;color:#333}
.mclub-hero{width:100%;height:232px;overflow:hidden;background:#d6d6d6}.mclub-hero img{display:block;width:100%;height:100%;object-fit:cover}
.mclub-main{background:#fff;min-height:300px}.mclub-content-wrap{display:grid;grid-template-columns:170px minmax(0,1fr) 170px;gap:20px;padding:0 0 26px}.mclub-gutter{min-height:1px}.mclub-content{padding-top:0;color:#5d5d5d;min-width:0}.mclub-content h1,.mclub-content h2,.mclub-content h3,.mclub-content h4,.mclub-content h5,.mclub-content h6{font-family:Arial,Helvetica,sans-serif;color:#595959}.mclub-content h1,.mclub-content h2{font-size:23px;margin:0 0 18px;font-weight:700}.mclub-content h3{font-size:17px;margin:18px 0 8px}.mclub-content p{margin:0 0 9px;text-align:justify}.mclub-content ul,.mclub-content ol{margin:8px 0 14px 20px;padding:0}.mclub-content a{color:var(--mclub-link);text-decoration:none}.mclub-content a:hover{text-decoration:underline}.mclub-content table{max-width:100%;border-collapse:collapse}.mclub-content img{max-width:100%;height:auto}.mclub-content .mclub-page-title{margin-top:0;padding-top:0}.mclub-archive-body{overflow-wrap:anywhere}.mclub-archive-body table{width:auto!important;max-width:100%!important}.mclub-archive-body td,.mclub-archive-body th{max-width:100%;vertical-align:top}.mclub-archive-body font{font-family:inherit!important}.mclub-archive-body [style*="width"]{max-width:100%!important}
.mclub-home-copy strong{font-weight:700}.mclub-empty{padding:26px 0 8px;color:#777}.mclub-email-card{padding:4px 0 10px}.mclub-email-card a{font-weight:700}.mclub-footer{background:var(--mclub-footer);min-height:100px;display:flex;align-items:flex-end;justify-content:space-between;padding:0 16px 8px;box-sizing:border-box;color:#222;font-size:12px}.mclub-footer .mclub-footer-right{text-align:right}.mclub-mobile-toggle{display:none;border:1px solid #aaa;background:#f1f1f1;padding:7px 10px;font-weight:700;color:#555;cursor:pointer}
.mclub-forum .mclub-content{font-size:13px}.mclub-forum .tborder,.mclub-forum table{border-color:#cfcfcf}.mclub-forum .thead,.mclub-forum .tcat{background:#e7e7e7!important;color:#444!important}.mclub-forum a{color:#476da8}
.mclub-admin-note{border:1px solid #d4d4d4;background:#fafafa;padding:12px;margin:18px 0}
@media(max-width:980px){.mclub-shell{max-width:100%;width:100%}.mclub-top{height:auto;min-height:90px;padding:0 12px;box-sizing:border-box}.mclub-logo{width:150px;height:88px}.mclub-top-right{padding-top:5px}.mclub-nav a{padding:5px 10px;font-size:12px}.mclub-hero{height:auto;aspect-ratio:950/232}.mclub-content-wrap{grid-template-columns:90px minmax(0,1fr) 90px;gap:14px;padding-left:10px;padding-right:10px}}
@media(max-width:720px){.mclub-top{display:block;padding:0 12px 8px}.mclub-logo{margin:0 auto}.mclub-top-right{display:block}.mclub-mobile-toggle{display:block;margin:0 0 6px auto}.mclub-nav{display:none;justify-content:stretch}.mclub-nav.is-open{display:grid;grid-template-columns:1fr 1fr}.mclub-nav a{border:1px solid var(--mclub-border);white-space:normal;text-align:center}.mclub-content-wrap{display:block;padding:0 18px 24px}.mclub-gutter{display:none}.mclub-content{padding-top:18px}.mclub-footer{min-height:74px;align-items:flex-end;gap:12px}.mclub-content p{text-align:left}.mclub-archive-body table{display:block;overflow-x:auto}}
