/*
Theme Name: TrueERP Archive
Description: Responsive WordPress theme based on the TrueERP Australia marketing homepage archived in August 2024.
Version: 1.0.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: trueerp-archive
*/

:root {
    --blue: #40599f;
    --ink: #36494e;
    --dark: #252e43;
    --light: #f3f5f8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.6 "Trebuchet MS", Arial, sans-serif; }
a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #df9f24; outline-offset: 4px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3 { line-height: 1.18; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1170px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: clamp(34px, 5vw, 72px); }
.skip, .skip-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { clip-path: none; width: auto; height: auto; padding: .65rem; left: 1rem; top: 1rem; background: white; z-index: 100000; }

.site-header { border-top: 5px solid #516ab2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand, .custom-logo { width: min(220px, 100%); height: auto; }
.menu { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.menu li { position: relative; }
.menu a { display: block; color: var(--ink); font-size: .89rem; font-weight: 700; text-decoration: none; padding-block: 7px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--blue); text-decoration: underline; }
.sub-menu { list-style: none; margin: 0; padding-left: 1rem; }

.industry { color: #fff; background: #344567; padding: 10px 0 14px; }
.industry h2 { font-size: 1.17rem; margin: 0 0 6px; }
.strip { display: flex; gap: 13px; overflow-x: auto; margin: 0; padding: 5px 5px 12px; list-style: none; scrollbar-width: thin; }
.strip li { flex: 0 0 112px; }
.strip a { display: flex; gap: 4px; align-items: center; flex-direction: column; text-align: center; color: inherit; font-size: .82rem; font-weight: 700; line-height: 1.25; text-decoration: none; min-height: 100%; }
.strip a:hover { text-decoration: underline; }
.industry img { object-fit: contain; height: 58px; width: 64px; }
.hero { position: relative; background: var(--dark); color: #fff; }
.slide { min-height: clamp(350px, 41.25vw, 650px); display: grid; align-items: center; position: relative; isolation: isolate; }
.slide > img, .slide::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.slide > img { object-fit: cover; }
.slide::after { content: ""; background: linear-gradient(90deg, #111c2fb8, #111c2f70 70%, #111c2f50); z-index: -1; }
.slide-copy { width: min(800px, 70%); margin-left: 25%; padding-block: 40px 66px; }
.slide h1, .slide h2 { font-size: clamp(1.9rem, 4.1vw, 3.45rem); text-transform: uppercase; margin: 0 0 12px; }
.slide p { max-width: 610px; font-size: clamp(1rem, 1.6vw, 1.25rem); text-transform: uppercase; }
.button { border: 2px solid var(--blue); border-radius: .6rem; padding: .55rem 1.2rem; display: inline-block; text-decoration: none; font-weight: 700; margin: 0 .35rem .35rem 0; }
.button:hover { background: var(--blue); color: white; }
.light { color: #fff; border-color: #fff; }
.dots { display: flex; justify-content: center; position: absolute; bottom: 12px; left: 0; right: 0; }
.dots button { width: 30px; height: 32px; padding: 9px; background: transparent; border: 0; }
.dots button::before { content: ""; display: block; margin: auto; border-radius: 50%; width: 10px; height: 10px; background: #ffffff87; }
.dots button[aria-pressed="true"]::before { background: white; }

.overview { text-align: center; }
.overview nav { margin-bottom: 24px; }
.intro { font-size: clamp(1.15rem, 2.35vw, 1.7rem); margin: 0 auto 35px; max-width: 990px; }
.grid { display: grid; gap: 24px; align-items: center; }
.grid article { align-self: start; }
.grid article a { text-decoration: none; }
.grid article a:hover { text-decoration: underline; }
.grid article h2 { font-size: 1.38rem; margin-bottom: 0; }
.grid article p { margin-top: .5rem; }
.four { grid-template-columns: repeat(4, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); text-align: center; }
.two { grid-template-columns: repeat(2, 1fr); }
.modules { background: linear-gradient(#20293bd9, #20293bd9), var(--dark) url("assets/team-bg.jpg") center/cover; color: white; border-block: 5px solid #516ab2; }
.modules h2, .hosting h2, #demo h2, #contact h2 { margin-top: 0; }
.modules img { object-fit: contain; }
.hosting { background: var(--light); }
.hosting h3 { margin-bottom: 0; }
.entry { max-width: 850px; min-height: 40vh; padding-block: 48px; overflow-wrap: anywhere; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 1rem; font-size: .9rem; }
.entry-featured-image { margin: 0 0 1.5rem; }
.entry-featured-image img { display: block; max-width: 100%; height: auto; }
.site-footer { padding: 24px 0; color: white; background: var(--dark); }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; display: inline-block; margin-right: 1rem; font-size: .9rem; }

@media (max-width: 900px) {
    .header-inner { flex-direction: column; gap: 0; padding-bottom: 12px; }
    .brand, .custom-logo { width: 170px; }
    .slide-copy { margin-inline: auto; width: min(720px, calc(100% - 40px)); }
    .four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .wrap { width: calc(100% - 28px); }
    .menu { gap: 0 12px; }
    .menu a { padding-block: 4px; }
    .two { grid-template-columns: 1fr; gap: 8px; }
    .three { gap: 10px; }
}
