/* Newman Plastics — industrial PVC theme (overrides inline page styles) */
:root {
    --ink: #0f1a23;
    --steel: #1c2b37;
    --steel-2: #2a3d4c;
    --pvc: #eef1f3;
    --pvc-line: #d3dbe1;
    --text: #1b2630;
    --muted: #46535f;
    --blue: #0b5d8f;
    --amber: #f6a800;
    --amber-2: #ffc629;
    --radius: 6px;
    --head: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}

html { font-size: 112.5%; scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--pvc);
    background-image:
        linear-gradient(rgba(11, 93, 143, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 93, 143, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--head); line-height: 1.2; letter-spacing: 0.01em; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Top bar & navigation ---------- */
.topbar {
    background: var(--ink);
    color: #c9d3db;
    font-size: 0.82rem;
    padding: 8px 20px;
    letter-spacing: 0.02em;
}
.topbar a { color: var(--amber-2); font-weight: 600; }

nav {
    background: var(--steel);
    border-bottom: 4px solid var(--amber);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.nav-inner { max-width: 1160px; height: 72px; }
.logo-newmans { color: #fff; font-size: 1.6rem; }
.logo-plastics { color: var(--amber); font-size: 1.6rem; }
.logo-ltd { background: var(--amber); color: var(--ink); }
.nav-links { gap: 24px; align-items: center; }
.nav-links a {
    color: #e3e9ee;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #fff; border-bottom-color: var(--amber); }
.quote-btn,
.nav-links a.quote-btn {
    background: var(--amber);
    color: var(--ink) !important;
    border-radius: var(--radius);
    padding: 9px 18px;
    border-bottom: 0;
}
.quote-btn:hover { background: var(--amber-2); box-shadow: none; transform: none; }

/* ---------- Heroes ---------- */
.hero {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px),
        linear-gradient(115deg, rgba(15, 26, 35, 0.94) 0%, rgba(15, 26, 35, 0.82) 55%, rgba(11, 93, 143, 0.62) 100%),
        url('images/screen-printing-press-dublin.jpg') center / cover;
    padding: 110px 20px 96px;
    border-bottom: 6px solid var(--amber);
}
.hero h1 {
    font-size: 3.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: none;
    margin-bottom: 16px;
}
.hero p { font-size: 1.2rem; max-width: 720px; color: #e6ecf0; opacity: 1; }
.hero .tagline {
    background: transparent;
    color: var(--amber-2);
    border: 2px solid var(--amber);
    border-radius: var(--radius);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero .hero-cta,
.cta-box a {
    background: var(--amber);
    color: var(--ink);
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    box-shadow: 0 4px 0 #b47b00;
}
.hero .hero-cta { padding: 16px 40px; font-size: 1rem; }
.hero .hero-cta:hover,
.cta-box a:hover { background: var(--amber-2); opacity: 1; transform: translateY(-1px); }

.page-hero {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 22px),
        linear-gradient(115deg, var(--ink), var(--steel-2));
    padding: 64px 20px 52px;
    border-bottom: 6px solid var(--amber);
}
.page-hero h1 { font-size: 2.4rem; text-transform: uppercase; }
.page-hero p { font-size: 1.1rem; color: #d7e0e6; opacity: 1; }
.breadcrumb { border-radius: var(--radius); border-color: rgba(255, 255, 255, 0.45); }

/* ---------- Layout & content ---------- */
.container { max-width: 1160px; padding: 48px 20px 72px; }
.page-hero + .container { max-width: 880px; }

.intro-box,
.content-box,
.contact-card {
    background: #fff;
    border: 1px solid var(--pvc-line);
    border-left: 6px solid var(--blue);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(15, 26, 35, 0.06);
}
.intro-box { padding: 34px 38px; margin-bottom: 56px; }
.intro-box h2 { font-size: 1.7rem; color: var(--ink); margin-bottom: 14px; text-transform: uppercase; }
.intro-box p,
.content-box p { font-size: 1rem; max-width: 72ch; margin-bottom: 14px; color: var(--text); }

.highlights { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 26px; }
.highlight { background: var(--steel); border: 0; border-radius: var(--radius); padding: 18px 12px; }
.highlight strong { color: var(--amber-2); font-family: var(--head); font-size: 1.45rem; }
.highlight span { color: #c9d3db; font-size: 0.85rem; letter-spacing: 0.03em; }

.cat { margin-bottom: 60px; }
.cat h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.55rem;
    color: var(--ink);
    text-transform: uppercase;
    border-bottom: 2px solid var(--pvc-line);
    padding-bottom: 10px;
    margin-bottom: 22px;
}
.cat h2::before {
    content: "";
    width: 34px;
    height: 12px;
    flex-shrink: 0;
    background: repeating-linear-gradient(135deg, var(--amber) 0 8px, var(--ink) 8px 14px);
    border-radius: 2px;
}

.product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card,
.service-card,
a.range-item,
.range-item {
    background: #fff;
    border: 1px solid var(--pvc-line);
    border-top: 4px solid var(--steel-2);
    border-radius: var(--radius);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.product-card:hover,
.service-card:hover,
.range-item:hover {
    border-top-color: var(--amber);
    box-shadow: 0 10px 24px rgba(15, 26, 35, 0.12);
    transform: translateY(-2px);
}
.product-card .body { padding: 16px 18px 18px; }
.product-card .name { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.product-card .desc { font-size: 0.93rem; color: var(--muted); margin-top: 6px; }
.product-card .enquire {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: var(--radius);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    margin-top: 14px;
}
.product-card .enquire:hover { background: var(--blue); color: #fff; opacity: 1; }

.range-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
a.range-item, .range-item { padding: 14px 16px; gap: 14px; }
.range-item img { width: 60px; height: 46px; border-radius: 4px; }
.range-item .name { font-size: 1.02rem; color: var(--ink); }
a.range-item:hover .name { color: var(--blue); }
.range-item .desc { font-size: 0.9rem; color: var(--muted); }

.service-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.service-card { padding: 24px 26px; }
.service-card img { height: 150px; border-radius: 4px; }
.service-card h3 { font-size: 1.25rem; color: var(--ink); text-transform: uppercase; }
.service-card p { font-size: 0.97rem; color: var(--muted); }
.spec-list { font-size: 0.93rem; color: var(--muted); }
.spec-list strong { color: var(--ink); }

.content-box { padding: 34px 38px; }
.content-box img.hero-img { border-radius: 4px; max-height: 380px; }
.content-box h3 { font-size: 1.3rem; color: var(--ink); text-transform: uppercase; margin: 26px 0 10px; }
.content-box ul { font-size: 1rem; margin-left: 0; list-style: none; }
.content-box li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.content-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 10px;
    height: 10px;
    background: var(--amber);
    border-radius: 2px;
}

.cta-box {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 22px),
        var(--steel);
    border-radius: var(--radius);
    border-bottom: 6px solid var(--amber);
    padding: 34px 30px;
}
.cta-box h2 { font-size: 1.6rem; text-transform: uppercase; }
.cta-box p { font-size: 1.02rem; color: #dbe3e9; opacity: 1; }
.cta-box a { padding: 13px 30px; font-size: 0.95rem; }

.contact-grid { gap: 24px; }
.contact-card { padding: 30px 32px; }
.contact-card h3 { font-size: 1.3rem; color: var(--ink); text-transform: uppercase; }
.contact-card p { font-size: 1rem; }
.contact-card a { color: var(--blue); font-weight: 600; }
.hours-table { font-size: 0.97rem; }
.hours-table td { padding: 6px 0; border-bottom: 1px solid var(--pvc); }
.hours-table td:last-child { color: var(--muted); }

/* ---------- Footer ---------- */
footer {
    background: var(--ink);
    color: #b9c5ce;
    font-size: 0.9rem;
    padding: 34px 20px;
    border-top: 6px solid transparent;
    border-image: repeating-linear-gradient(135deg, var(--amber) 0 14px, var(--ink) 14px 24px) 6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 20px; gap: 8px; }
    .nav-links { flex-wrap: wrap; gap: 6px 18px; }
    .nav-links a { font-size: 0.85rem; }
}
@media (max-width: 720px) {
    html { font-size: 106.25%; }
    .hero { padding: 70px 18px 60px; }
    .hero h1 { font-size: 2.1rem; }
    .page-hero h1 { font-size: 1.7rem; }
    .intro-box, .content-box, .contact-card { padding: 24px 22px; }
    .cat h2 { font-size: 1.3rem; }
}

@media (max-width: 720px) {
    .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- SEO content blocks ---------- */
.hero h1 .h1-sub { display: block; margin-top: 10px; font-size: 0.42em; letter-spacing: 0.06em; color: var(--amber-2); }
.crumbs { font-size: 0.85rem; color: #c9d3db; margin-bottom: 14px; letter-spacing: 0.02em; }
.crumbs a { color: var(--amber-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 4px; }
.content-box h2 { font-size: 1.45rem; color: var(--ink); text-transform: uppercase; margin: 30px 0 12px; }
.content-box h2:first-of-type { margin-top: 22px; }
.faq-box, .related-box { margin-top: 24px; }
.faq-box h2, .related-box h2 { margin-top: 0; }
.faq-box h3 { font-size: 1.08rem; text-transform: none; margin: 20px 0 6px; color: var(--blue); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.related-grid .range-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; text-decoration: none; }
.cta-box p a { color: var(--amber-2); text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 12px; }
footer a { color: var(--amber-2); text-decoration: none; }
footer a:hover { text-decoration: underline; }
img { height: auto; }
@media (max-width: 720px) {
    .related-grid { grid-template-columns: minmax(0, 1fr); }
    .content-box h2 { font-size: 1.25rem; }
}
.cta-box p a, .cta-box p a:hover { display: inline; background: none; padding: 0; margin: 0; box-shadow: none; transform: none; font-size: inherit; letter-spacing: normal; text-transform: none; border: 0; color: var(--amber-2); }

/* layout polish */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > * { width: 100%; flex-shrink: 0; }
body > footer { margin-top: auto; }
.content-box img.hero-img { width: auto; max-width: 100%; height: auto; max-height: 340px; object-fit: contain; display: block; margin: 0 auto 24px; }
.service-card img[src*=".svg"] { object-fit: contain; background: #eef2f7; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .related-grid { grid-template-columns: minmax(0, 1fr); }
}
.intro-box p { max-width: none; }
@media (max-width: 720px) {
    .product-card .enquire, .enquire { white-space: nowrap; font-size: 0.7rem; padding: 7px 10px; letter-spacing: 0.04em; }
}
.related-grid .range-item .name { font-weight: 700; }
