/* Tighter vertical rhythm on top of the purchased template (style.css). Loaded last on every front page. */
.page-title{padding:72px 0 56px}
.about-section{padding:70px 0 40px}
.principle-section{padding-bottom:70px}
.business-section{padding:70px 0 40px}
.team-section{padding:70px 0 0}
.form-section{padding:70px 0 40px}
.contact-page-section{padding:64px 0 64px}
.sec-title{margin-bottom:26px}
.sec-title h2{padding-bottom:10px}
.contact-form-box{margin-top:0}

/* inner pages (invoicy-pages.css) */
.inv-section{padding:64px 0 48px}
.inv-band{padding:64px 0 56px}
.inv-grid,.inv-plans,.inv-facts,.inv-tiles,.inv-mini,.inv-help{margin-top:30px}
.inv-flow{margin-top:34px}
.inv-faq,.inv-table-wrap{margin-top:30px}
.inv-lead{margin-bottom:0}
.inv-legal-section{padding-top:56px}

@media (max-width:640px){
  .page-title{padding:56px 0 44px}
  .inv-section{padding:48px 0 36px}
  .inv-band{padding:48px 0 40px}
}

/* the template's banner image is a grey size-labelled placeholder: use a light brand gradient so the header text stays readable */
.page-title{background-image:linear-gradient(135deg,#e6f3fb 0%,#f6f9fc 55%,#d9ecf8 100%)!important;background-size:cover}
.page-title:before,.page-title:after{display:none}
.page-title h2,.page-title h1{color:#0c1b2a}
.page-title .bread-crumb li,.page-title .bread-crumb li a{color:#33414f}
.page-title .bread-crumb li:before{color:#6b7684}
.page-title .bread-crumb li:last-child{color:var(--main-color);font-weight:600}

/* inner pages: the banner is a slim header strip with a clear edge, so the page's own headline below it does not read as the same title twice */
.page-title{padding:30px 0 26px;border-bottom:1px solid #d3e3ef;background-image:linear-gradient(180deg,#eaf4fb 0%,#f3f9fd 100%)!important}
.page-title h2,.page-title h1{font-size:clamp(24px,2.4vw,32px);padding-bottom:6px;margin:0}
.page-title .bread-crumb{margin:0}
.page-title + .inv-section,.page-title + .inv-legal-section,.page-title + .contact-page-section{padding-top:52px}
@media (max-width:640px){
  .page-title{padding:22px 0 18px}
  .page-title h2,.page-title h1{font-size:24px;padding-bottom:0}
  .page-title + .inv-section{padding-top:34px}
}
html[data-theme="dark"] .page-title{border-bottom-color:#22344d;background-image:linear-gradient(180deg,#0f2036 0%,#0b1626 100%)!important}

/* Despre: the text column is as tall as the company card, the three points sit at its foot */
@media (min-width:992px){
  .inv-split.eq{align-items:stretch}
  .inv-split.eq>.inv-prose{display:flex;flex-direction:column}
}
.inv-keep{list-style:none;margin:auto 0 0;padding:22px 26px;display:grid;gap:14px;border-radius:20px;background:rgba(26,159,223,.07);border:1px solid rgba(26,159,223,.22)}
.inv-keep li{display:flex;gap:14px;align-items:flex-start;margin:0;font-size:15.5px;line-height:1.55;color:var(--ink2)}
.inv-keep li b{color:var(--ink);font-weight:600}
.inv-keep i{flex:none;width:24px;height:24px;margin-top:1px;border-radius:50%;background:rgba(26,159,223,.16);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;font-size:11px}
@media (max-width:991px){.inv-keep{margin-top:8px}}
html[data-theme="dark"] .inv-keep{background:rgba(56,182,238,.08);border-color:rgba(56,182,238,.26)}
html[data-theme="dark"] .inv-keep i{background:rgba(56,182,238,.18);color:#5cc3f2}

/* Contact, phones: the four contact details are slim rows (icon on the left, text beside it) instead of four tall tiles */
@media (max-width:640px){
  .inv-help.inv-info{gap:10px}
  .inv-help.inv-info .inv-card{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;align-items:center;padding:14px 16px;border-radius:16px}
  .inv-help.inv-help.inv-info .inv-card .icon,.inv-help.inv-info .inv-card .inv-ico{grid-row:1 / span 3;width:44px;height:44px;margin:0;border-radius:12px;font-size:20px;display:flex;align-items:center;justify-content:center}
  .inv-help.inv-info .inv-card h3{font-size:13px;font-weight:500;letter-spacing:0;color:var(--ink2);margin:0 0 2px;line-height:1.3}
  .inv-help.inv-info .inv-card p{margin:0;font-size:16px;line-height:1.4;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
  .inv-help.inv-info .inv-card p a{color:var(--accent)}
  .inv-help.inv-info .inv-card .go-link{margin-top:4px;font-size:14px}
  .inv-help.inv-info .inv-card:hover{transform:none}
}
@media (max-width:640px){
  .inv-formrow{margin-top:28px!important}
  .contact-form-box .contact-form .title-box h2{font-size:26px;line-height:1.2}
}
@media (max-width:575px){
  .inv-section .sec-title h2,.inv-band .sec-title h2,.inv-about .sec-title h2{text-wrap:balance}
}
/* the banner heading is an h1 (one H1 per page for search engines); it keeps the line height the old h2 had */
.page-title h1{line-height:1}
@media (max-width:479px){.page-title h1{line-height:1.3em}}
