/*
Theme Name: GREATANKS Framework
Author: GREATANKS
Description: Blue and white industrial WordPress framework. Native editable blocks, product pages, Projects and News. No inquiry form. Includes a non-destructive starter-content installer under Appearance.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: greatanks
*/
:root{--navy:#082a49;--blue:#006bbb;--light:#f1f6fb;--ink:#17334b;--muted:#52697c;--line:#dbe6ef;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:115px}body{margin:0;color:var(--ink);background:white;font:17px/1.75 Arial,Helvetica,sans-serif}a{color:var(--blue);text-underline-offset:4px}a:hover{color:#00477e}img{max-width:100%;height:auto}h1,h2,h3{color:var(--navy);line-height:1.14;letter-spacing:-.035em;margin:0 0 24px;font-weight:700}h1{font-size:clamp(38px,5vw,70px);max-width:1000px}h2{font-size:clamp(28px,3vw,42px)}h3{font-size:23px;letter-spacing:-.02em}p{margin:0 0 24px}p:last-child{margin-bottom:0}li{margin-bottom:10px}:focus-visible{outline:3px solid #0589e0;outline-offset:5px}.skip-link{position:absolute;left:12px;top:-100px;z-index:1000;background:white;padding:12px}.skip-link:focus{top:8px}
.gt-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line)}.admin-bar .gt-header{top:32px}.gt-header-inner{max-width:1320px;margin:auto;min-height:98px;padding:17px 40px;display:flex;align-items:center;justify-content:space-between;gap:30px}.gt-brand{display:flex;align-items:center;flex:0 1 290px}.gt-brand img{width:290px;max-height:82px;object-fit:contain}.gt-nav{display:flex;align-items:center;gap:27px}.gt-nav a{font-size:14px;font-weight:700;color:var(--navy);text-decoration:none;white-space:nowrap;padding:12px 0;border-bottom:2px solid transparent}.gt-nav a:hover,.gt-nav a[aria-current=page]{color:var(--blue);border-color:var(--blue)}.gt-nav a:last-child{background:var(--blue);color:white;padding:11px 19px;border-radius:4px}.gt-menu-toggle{display:none;background:white;border:1px solid var(--line);padding:10px 14px;font:inherit;border-radius:4px;color:var(--navy)}
.gt-main{min-height:60vh}.gt-grid>.wp-block-group{margin:0}.gt-section{max-width:1240px;margin:0 auto;padding:78px 40px}.gt-section .gt-section{padding:0}.gt-hero{padding:105px max(40px,calc((100vw - 1160px)/2)) 105px;background:linear-gradient(110deg,#eef6fc 0%,#f8fbfe 65%,#dcebf7 100%);border-bottom:1px solid var(--line);position:relative;overflow:hidden}.gt-hero:after{content:'';position:absolute;right:-150px;top:50px;width:530px;height:530px;border:1px solid #bcd5e9;border-radius:50%;box-shadow:0 0 0 65px #e6f0f844,0 0 0 130px #e6f0f844;pointer-events:none}.gt-hero>*{position:relative;z-index:1}.gt-hero h1{max-width:850px}.gt-hero p:not(.gt-eyebrow){max-width:590px;font-size:19px;color:var(--muted)}.gt-eyebrow{font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--blue);text-transform:uppercase;margin-bottom:20px}.gt-soft{background:var(--light);max-width:none;padding-left:max(40px,calc((100vw - 1160px)/2));padding-right:max(40px,calc((100vw - 1160px)/2))}.gt-product-hero{background:var(--light);padding:70px max(40px,calc((100vw - 1160px)/2))}.gt-product-hero h1{font-size:clamp(36px,4vw,58px)}
.gt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:34px 0}.gt-card{border:1px solid var(--line);border-radius:8px;background:white;padding:22px;overflow:hidden;box-shadow:0 7px 24px #123e6310}.gt-card h3{font-size:22px}.gt-card h3 a{text-decoration:none;color:var(--navy)}.gt-card h3 a:hover{color:var(--blue)}.gt-card p{font-size:15px;color:var(--muted)}.gt-card .wp-block-image{margin:-22px -22px 24px}.gt-card .wp-block-image img{width:100%;aspect-ratio:8/5;object-fit:cover;display:block}.wp-block-image{margin:0 0 32px}.wp-block-image img{border-radius:4px}.wp-element-caption,figcaption{font-size:12px;color:var(--muted);padding:8px 12px;line-height:1.5}.gt-section>.wp-block-image{max-width:900px}.gt-section>.wp-block-image img{width:100%;max-height:540px;object-fit:cover}.gt-factory .gt-card{box-shadow:none}.gt-factory .gt-card h3{margin-bottom:0}.wp-block-buttons{display:flex;gap:14px;flex-wrap:wrap;margin:26px 0 0}.wp-block-button__link{display:inline-block;background:var(--blue);border:1px solid var(--blue);border-radius:4px;color:white!important;text-decoration:none;font-size:14px;font-weight:700;padding:13px 22px;line-height:1.5}.wp-block-button__link:hover{background:#00538f}.gt-hero .wp-block-button:nth-child(2) .wp-block-button__link,.gt-product-hero .wp-block-button:nth-child(2) .wp-block-button__link{background:transparent;color:var(--navy)!important;border-color:#bacddd}.gt-cta{background:var(--navy);color:white;padding:65px max(40px,calc((100vw - 1160px)/2));margin-top:30px}.gt-cta h2{color:white;max-width:800px}.gt-cta p{color:#c8d8e6;max-width:740px}.gt-cta .wp-block-button__link{background:white;color:var(--navy)!important;border-color:white}.wp-block-table{margin:25px 0 48px;overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%;font-size:15px}.wp-block-table td{border:1px solid var(--line);padding:17px;vertical-align:top}.wp-block-table td:first-child{width:30%;background:var(--light);font-weight:700}.gt-section>h2:not(:first-child){margin-top:48px}.wp-block-post-template{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding:0}.wp-block-post-template>li{border:1px solid var(--line);padding:24px;border-radius:6px}.wp-block-post-title{font-size:24px}.wp-block-query-no-results{padding:30px;border:1px dashed #b1c9dc;background:var(--light)}.wp-block-query-pagination{display:flex;gap:18px}.gt-article{max-width:1060px;margin:auto;padding:70px 40px}.gt-article>.gt-section{padding:30px 0}.gt-article-title{padding-bottom:30px}.gt-footer{background:#061f35;color:#c6d7e4;padding:55px 40px 26px}.gt-footer-inner{max-width:1160px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:50px}.gt-footer h2{color:white;font-size:23px}.gt-footer a{color:#d9ecfc}.gt-footer p,.gt-footer a{font-size:14px}.gt-footer-links{display:grid;gap:6px}.gt-footer-bottom{max-width:1160px;margin:35px auto 0;border-top:1px solid #294256;padding-top:20px;font-size:12px}.gt-footer-brand{font-size:28px;font-weight:700;color:white;letter-spacing:.04em}.gt-preview-note{background:#e6f2ff;padding:9px 25px;font-size:12px;text-align:center;color:#164b75}.gt-empty{border:1px dashed #a9c5dc;padding:30px;background:var(--light)}
/* Keep corresponding card rows aligned even when editors change copy length. */
.gt-product-card{display:grid;grid-template-rows:auto minmax(3.42em,auto) 1fr;row-gap:0}
.gt-product-card>.wp-block-image figcaption,.gt-summary-card>.wp-block-image figcaption{min-height:70px}
.gt-product-card>p{margin-bottom:0}
@supports(grid-template-rows:subgrid){.gt-product-card{grid-row:span 3;grid-template-rows:subgrid}}
.gt-summary-card{display:flex;flex-direction:column}.gt-summary-card h3{min-height:2.3em}.gt-summary-card .gt-eyebrow{margin-bottom:12px}.gt-summary-card>p:not(.gt-eyebrow){margin-bottom:0}.gt-summary-card>.wp-block-buttons{margin-top:auto;padding-top:24px}
.gt-section>h2>a{text-decoration:none;color:inherit}.gt-section>h2>a:hover{color:var(--blue)}
.gt-photo-hero{position:relative;display:flex;align-items:center;overflow:hidden;min-height:550px;padding:0;isolation:isolate;background:#eaf2f8}
.gt-photo-hero>.wp-block-cover__image-background{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center center;z-index:0}
.gt-photo-hero>.wp-block-cover__background{position:absolute;inset:0;z-index:1;opacity:1!important;background:linear-gradient(90deg,rgba(242,248,253,.98) 0%,rgba(239,247,253,.94) 26%,rgba(235,245,253,.73) 47%,rgba(234,244,251,.2) 70%,rgba(234,244,251,.03) 100%)!important}
.gt-photo-hero>.wp-block-cover__inner-container{position:relative;z-index:2;width:100%;color:var(--ink)}
.gt-photo-hero-content{padding-top:75px;padding-bottom:85px}.gt-photo-hero-content h1{font-size:clamp(40px,4.4vw,66px);max-width:850px;color:var(--navy)}
.gt-photo-hero-content>p:not(.gt-eyebrow){max-width:620px;font-size:18px;color:#354f66}.gt-photo-hero-content .wp-block-button:nth-child(2) .wp-block-button__link{background:rgba(255,255,255,.9);color:var(--navy)!important;border-color:#bed3e4}
.gt-feature-strip{position:relative;border-bottom:1px solid var(--line);background:linear-gradient(110deg,#f1f6fb,#fff);padding:30px 40px}
.gt-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:1160px;margin:0 auto;gap:24px}
.gt-feature-item{position:relative;padding-left:58px;padding-right:18px;border-right:1px solid #cad9e6}.gt-feature-grid>.gt-feature-item{margin:0}.gt-feature-item:last-child{border-right:0;padding-right:0}
.gt-feature-item:before{content:"";position:absolute;left:0;top:4px;width:40px;height:40px;background:var(--blue);mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}
.gt-icon-factory:before{mask-image:url('assets/icon-factory.svg');-webkit-mask-image:url('assets/icon-factory.svg')}.gt-icon-shield:before{mask-image:url('assets/icon-shield.svg');-webkit-mask-image:url('assets/icon-shield.svg')}.gt-icon-gear:before{mask-image:url('assets/icon-gear.svg');-webkit-mask-image:url('assets/icon-gear.svg')}.gt-icon-globe:before{mask-image:url('assets/icon-globe.svg');-webkit-mask-image:url('assets/icon-globe.svg')}
.gt-feature-item h3{font-size:17px;letter-spacing:-.02em;line-height:1.3;margin:0 0 7px}.gt-feature-item p{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
@media(min-width:1700px){.gt-photo-hero{min-height:620px}}
@media(max-width:1000px){.gt-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}.gt-feature-item:nth-child(2){border-right:0}}
@media(max-width:800px){.gt-photo-hero{min-height:510px}.gt-photo-hero-content{padding:55px 24px}.gt-photo-hero>.wp-block-cover__background{background:linear-gradient(90deg,rgba(242,248,253,.98),rgba(239,247,253,.87) 55%,rgba(239,247,253,.35))!important}.gt-photo-hero-content h1{font-size:44px;max-width:650px}.gt-photo-hero-content>p:not(.gt-eyebrow){font-size:17px;max-width:510px}.gt-feature-strip{padding:28px 24px}.gt-feature-item{padding-left:48px}.gt-feature-item:before{width:32px;height:32px}.gt-feature-item h3{font-size:15px}}
@media(max-width:520px){.gt-photo-hero{min-height:530px}.gt-photo-hero-content h1{font-size:39px}.gt-photo-hero>.wp-block-cover__image-background{object-position:60% center}.gt-photo-hero>.wp-block-cover__background{background:linear-gradient(90deg,rgba(242,248,253,.96),rgba(239,247,253,.8))!important}.gt-feature-grid{gap:24px 14px}.gt-feature-item{padding-left:0;padding-top:40px;border-right:0}.gt-feature-item:before{top:0;width:28px;height:28px}.gt-feature-item h3{font-size:14px}.gt-feature-item p{font-size:11px}}
.wp-block-post-template>li{display:flex;flex-direction:column}.wp-block-post-template .wp-block-post-featured-image img{width:100%;aspect-ratio:8/5;object-fit:cover}.wp-block-post-template .wp-block-post-excerpt{display:flex;flex-direction:column;flex:1}.wp-block-post-template .wp-block-post-excerpt__more-text{margin-top:auto;padding-top:18px}
@media(min-width:1500px){.gt-hero{min-height:570px}}@media(max-width:1080px){.gt-header-inner{padding:16px 25px;gap:15px}.gt-brand{flex-basis:235px}.gt-nav{gap:15px}.gt-nav a{font-size:13px}.gt-grid{gap:18px}}@media(max-width:800px){body{font-size:16px}.admin-bar .gt-header{top:46px}.gt-header-inner{min-height:80px;padding:12px 22px;flex-wrap:wrap}.gt-brand{flex-basis:225px}.gt-brand img{max-height:60px}.gt-menu-toggle{display:block}.gt-nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding-bottom:15px}.gt-nav.is-open{display:flex}.gt-nav a{padding:10px 8px;font-size:15px}.gt-nav a:last-child{margin-top:8px;text-align:center}.gt-section{padding:50px 24px}.gt-hero,.gt-product-hero{padding:65px 24px}.gt-hero h1{font-size:46px}.gt-hero:after{opacity:.4}.gt-grid,.wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}.gt-soft,.gt-cta{padding:50px 24px}.gt-footer{padding:45px 24px 24px}.gt-footer-inner{grid-template-columns:1fr;gap:26px}.gt-article{padding:45px 24px}}@media(max-width:520px){.gt-grid,.wp-block-post-template{grid-template-columns:1fr}.gt-product-card{grid-row:auto;grid-template-rows:auto auto auto}.gt-product-card>.wp-block-image figcaption{min-height:0}.gt-hero h1{font-size:40px}.gt-brand{flex-basis:205px}.wp-block-table td{padding:12px}.wp-block-table td:first-child{width:36%}.gt-cta h2{font-size:30px}}
