/*
Theme Name: RUNNING MACHINERY
Author: RUNNING MACHINERY
Description: Editable English plastic machinery supplier website.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: running-machinery
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#243b53;background:#fff;line-height:1.65}img{max-width:100%;height:auto}a{color:#006f74;text-underline-offset:4px}a:hover{color:#004e52}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #cf751b;outline-offset:5px}h1,h2,h3{color:#102a43;line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.5rem,4.3vw,4.8rem)}h2{font-size:clamp(2rem,3vw,3rem)}h3{font-size:1.35rem}.wp-site-blocks>main{margin-top:0}.wp-block-group{box-sizing:border-box}.rm-header{max-width:1320px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:22px 40px}.rm-brand{margin:0!important;line-height:1.05}.rm-brand a{text-decoration:none;color:#102a43;display:flex;align-items:center;gap:12px}.rm-brand img{display:block;width:58px;height:58px;object-fit:contain}.rm-brand-copy{display:block}.rm-brand strong{display:block;font-size:23px;letter-spacing:.075em;white-space:nowrap}.rm-brand-copy>span{display:block;font-size:9px;font-weight:700;letter-spacing:.19em;margin-top:7px;color:#007f84;white-space:nowrap}.rm-header .wp-block-navigation{font-size:15px;font-weight:700}.rm-header .wp-block-navigation a{text-decoration:none}.rm-header .wp-block-navigation__container{gap:27px}.rm-hero{background:#f2f6f7;padding:72px max(40px,calc((100vw - 1240px)/2));display:grid;grid-template-columns:1.03fr 1fr;gap:48px;align-items:center}.rm-hero h1{margin:20px 0 26px}.rm-hero-copy>p{max-width:580px}.rm-eyebrow{font-size:12px;font-weight:700;letter-spacing:.15em;color:#00777b}.rm-lead{font-size:18px;line-height:1.7;max-width:740px}.rm-hero-media{background:white;padding:12px;border:1px solid #e1e8eb;border-radius:8px;box-shadow:0 20px 60px #102a430d}.rm-hero-media figure{margin:0}.rm-caption{font-size:12px;line-height:1.5;color:#53677b}.rm-hero-media .rm-caption{padding:0 12px}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;border:2px solid #007f84;border-radius:5px;background:#007f84;color:white;font-size:15px;font-weight:700;text-decoration:none;line-height:1.4}.wp-block-button__link:hover{background:#00666b;color:white;border-color:#00666b}.is-style-outline .wp-block-button__link{background:transparent;color:#006f74}.is-style-outline .wp-block-button__link:hover{background:#e5f1f1}.rm-section{max-width:1320px;padding:82px 40px;margin:0 auto}.rm-section>h2{margin:14px 0 22px;max-width:860px}.rm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:36px}.rm-card{border:1px solid #dfe7eb;border-radius:8px;overflow:hidden;background:#fff;padding:0 22px 22px;display:flex;flex-direction:column;gap:0}.rm-card figure{margin:0 -22px 20px;border-bottom:1px solid #e7edef}.rm-card figure img{display:block;width:100%;aspect-ratio:3/2;object-fit:contain}.rm-card h3{margin:9px 0 14px}.rm-card p{font-size:15px;line-height:1.6;margin:0 0 16px}.rm-card p:last-child{margin-top:auto;margin-bottom:0;font-weight:700}.rm-card .rm-kicker{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#00777b;font-weight:700;margin-bottom:0}.rm-process{background:#f2f6f7;max-width:none;padding-left:max(40px,calc((100vw - 1240px)/2));padding-right:max(40px,calc((100vw - 1240px)/2))}.rm-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:35px}.rm-step-number{color:#007f84;font-size:34px;line-height:1;font-weight:700}.rm-step h3{margin:18px 0 12px}.rm-step p,.rm-guide p{font-size:16px}.rm-guide{border-top:3px solid #008b91;padding-top:15px}.rm-guide a{font-weight:700}.rm-cta{background:#102a43;color:#d9e5ee;border-radius:8px;margin:0 auto 72px;padding:54px;max-width:1240px}.rm-cta h2{color:#fff}.rm-cta .rm-eyebrow,.rm-cta a{color:#99e0df}.rm-cta .wp-block-button__link{color:#fff}.rm-cta .is-style-outline .wp-block-button__link{border-color:#92d4d5;color:#c4eeee}.rm-cta p{max-width:730px}.rm-footer{border-top:1px solid #dfe7eb;max-width:1320px;margin:auto;padding:50px 40px;display:grid;grid-template-columns:1.5fr 1.1fr .7fr;gap:40px;font-size:14px}.rm-footer h3{font-size:16px;letter-spacing:0}.rm-footer-brand strong{font-size:22px;color:#102a43}.rm-footer p{margin:12px 0}.rm-page{max-width:1000px;margin:0 auto;padding:60px 32px 90px;min-height:55vh}.rm-page h1{font-size:clamp(2.4rem,4vw,3.6rem)}.rm-page .wp-block-post-content{max-width:100%}.rm-product-row{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px;padding:35px 0;border-bottom:1px solid #dfe7eb;scroll-margin-top:35px}.rm-product-row figure{margin:0}.rm-product-copy h2{font-size:30px}.rm-product-copy p{font-size:16px}
@media(min-width:1600px){.rm-hero{gap:60px}.rm-hero h1{font-size:76px}}
@media(max-width:960px){.rm-header{padding:20px 25px}.rm-hero{padding:50px 25px;gap:25px}.rm-hero h1{font-size:43px}.rm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-section{padding:58px 25px}.rm-cta{margin:0 25px 50px}.rm-three{gap:20px}.rm-footer{padding:35px 25px;gap:25px}}
@media(max-width:700px){.rm-header{padding:17px 20px}.rm-brand strong{font-size:25px}.rm-brand span{font-size:8px}.rm-hero{grid-template-columns:1fr;padding:35px 20px;gap:28px}.rm-hero h1{font-size:42px}.rm-lead{font-size:16px}.rm-grid,.rm-three,.rm-footer,.rm-product-row{grid-template-columns:1fr}.rm-section{padding:46px 20px}.rm-section h2{font-size:31px}.rm-grid{gap:22px}.rm-card h3{font-size:23px}.rm-three{gap:22px}.rm-step-number{margin:10px 0}.rm-step p{margin-bottom:0}.rm-cta{margin:0 16px 38px;padding:30px 23px}.rm-footer{padding:30px 20px;gap:14px}.rm-header .wp-block-navigation__responsive-container.is-menu-open{padding:30px 24px}.rm-header .wp-block-navigation__responsive-container.is-menu-open a{font-size:22px;padding:12px 0}.rm-page{padding:35px 20px 60px}.rm-product-row{gap:10px}.rm-product-copy h2{font-size:27px}.wp-block-buttons{gap:10px}.wp-block-button__link{padding:12px 17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.rm-hero-media .wp-block-image img,.rm-product-row .wp-block-image img{aspect-ratio:3/2;object-fit:contain;display:block;width:100%}

@media(max-width:700px){.rm-header{padding:14px 20px}.rm-brand a{gap:9px}.rm-brand img{width:46px;height:46px}.rm-brand strong{font-size:17px;letter-spacing:.055em}.rm-brand-copy>span{font-size:7px;letter-spacing:.12em;margin-top:5px}}


/* RUNNING MACHINE logo with Since 1979 */
.rm-brand img{width:230px;height:auto;object-fit:contain}
.rm-header{padding-top:12px;padding-bottom:12px}
@media(max-width:700px){.rm-brand img{width:165px;height:auto}.rm-header{padding-top:9px;padding-bottom:9px}}

.rm-inquiry-form{margin-top:28px;padding:30px;background:#f2f6f7;border:1px solid #dfe7eb;border-radius:8px}.rm-inquiry-form p{margin:0 0 20px}.rm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.rm-inquiry-form label{display:block;margin-bottom:7px;font-weight:700;color:#102a43}.rm-inquiry-form input[type=text],.rm-inquiry-form input[type=email],.rm-inquiry-form select,.rm-inquiry-form textarea{display:block;width:100%;padding:12px 13px;border:1px solid #9fb3c3;border-radius:4px;background:#fff;color:#102a43;font:inherit}.rm-inquiry-form textarea{resize:vertical}.rm-inquiry-form input:focus,.rm-inquiry-form select:focus,.rm-inquiry-form textarea:focus{outline:3px solid #b8e3e2;border-color:#007f84}.rm-consent label{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:400}.rm-consent input{margin-top:5px}.rm-form-submit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;border:2px solid #007f84;border-radius:5px;background:#007f84;color:#fff;font:inherit;font-weight:700;cursor:pointer}.rm-form-submit:hover{background:#00666b;border-color:#00666b}.rm-form-help{font-size:13px;color:#53677b}.rm-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.rm-form-notice{margin:20px 0;padding:16px 18px;border-radius:5px}.rm-form-success{background:#e8f7ef;border:1px solid #5aa777;color:#1d5b37}.rm-form-error{background:#fff1ef;border:1px solid #c56a60;color:#78352e}
@media(max-width:700px){.rm-form-grid{grid-template-columns:1fr}.rm-inquiry-form{padding:22px 18px}}
