/*
Theme Name: SC Time Clock
Theme URI: https://sctimeclock.app/
Author: TZ
Description: Custom WordPress theme for SC Time Clock
Version: 1.0
Text Domain: sctimeclock
*/

:root {
    --sct-bg: #ffffff;
    --sct-bg-soft: #f7f5f2;
    --sct-surface: #ffffff;
    --sct-surface-alt: #fbfaf8;
    --sct-text: #1f1f1f;
    --sct-text-light: #5f5a54;
    --sct-border: #d9d2ca;
    --sct-border-strong: #c8beb4;
    --sct-accent: #cf102d;
    --sct-accent-dark: #a90d24;
    --sct-container: 1180px;
    --sct-radius: 4px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--sct-text);
    background: var(--sct-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--sct-accent);
    text-decoration: none;
}

a:hover {
    color: var(--sct-accent-dark);
}

.sct-container {
    width: min(100% - 40px, var(--sct-container));
    margin: 0 auto;
}

/* ================= HEADER ================= */
.sct-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 235, 243, 0.9);
}

.sct-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
  flex-wrap: nowrap;
  padding: 0;
}

.sct-logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}

.sct-logo a,
.sct-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
}

.sct-logo img,
.custom-logo {
  max-height: 56px;
  width: auto;
  height: auto;
}

.sct-nav {
  margin-left: auto;
}

.sct-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sct-menu li {
  display: flex;
  align-items: center;
  margin: 0;
}

.sct-menu a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 0;
  text-decoration: none;
}

.sct-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 auto;
  margin-left: auto;
}

.sct-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0b1220;
  border-radius: 999px;
}

@media (min-width: 992px) {
  .sct-menu-toggle {
    display: none !important;
  }

  .sct-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    margin-left: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .sct-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 28px !important;
  }

  .sct-menu li {
    width: auto !important;
    border-top: 0 !important;
  }

  .sct-menu a {
    display: inline-flex !important;
    width: auto !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
}

@media (max-width: 991px) {
  .sct-header-inner {
    gap: 12px;
  }

  .sct-logo {
    margin-right: auto;
  }

  .sct-logo img,
  .custom-logo {
    max-height: 42px;
  }

  .sct-menu-toggle {
    display: inline-flex;
  }

  .sct-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 14px 20px 20px;
    background: #fff;
    border-bottom: 1px solid #e5ebf3;
    box-shadow: 0 14px 30px rgba(11, 18, 32, 0.08);
    z-index: 1001;
  }

  .sct-nav.is-open {
    display: block;
  }

  .sct-nav .sct-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .sct-nav .sct-menu li {
    display: block;
    width: 100%;
    border-top: 1px solid #eef2f7;
  }

  .sct-nav .sct-menu li:first-child {
    border-top: 0;
  }

  .sct-nav .sct-menu a {
    display: block;
    width: 100%;
    padding: 14px 0;
    line-height: 1.4;
    white-space: normal;
  }
}

/* WordPress admin bar offset */
body.admin-bar .sct-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .sct-header {
    top: 46px;
  }
}

/* ================= HERO ================= */

.sct-hero {
    background: linear-gradient(180deg, #f5f2ed 0%, #ffffff 78%);
    padding: 34px 0 64px;
}

.sct-hero-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--sct-text-light);
}

.sct-hero-pill {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--sct-border);
    background: #ffffff;
    color: var(--sct-text);
    font-weight: 600;
}

.sct-hero-note {
    white-space: nowrap;
}

.sct-hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: stretch;
}

.sct-hero-main {
    padding-right: 10px;
}

.sct-hero-main h1 {
    margin: 0 0 18px;
    font-size: 3.05rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #171717;
    max-width: 760px;
}

.sct-hero-text {
    margin: 0 0 28px;
    max-width: 700px;
    font-size: 1.06rem;
    color: var(--sct-text-light);
}

.sct-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sct-btn {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 3px;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    transition: 0.2s ease;
}

.sct-btn-primary {
    background: var(--sct-accent);
    color: #ffffff;
    border: 1px solid var(--sct-accent);
}

.sct-btn-primary:hover {
    background: var(--sct-accent-dark);
    border-color: var(--sct-accent-dark);
    color: #ffffff;
}

.sct-btn-secondary {
    background: #ffffff;
    color: var(--sct-text);
    border: 1px solid var(--sct-border-strong);
}

.sct-btn-secondary:hover {
    background: #f7f4f1;
    color: var(--sct-text);
}

.sct-hero-panels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sct-panel,
.sct-card,
.sct-cta-inner {
    background: #ffffff;
    border: 1px solid var(--sct-border);
    border-radius: 3px;
    box-shadow: none;
}

.sct-panel {
    padding: 22px 22px;
}

.sct-panel-large h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #171717;
}

.sct-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sct-panel strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #171717;
}

.sct-panel p {
    margin: 0;
    color: var(--sct-text-light);
    font-size: 0.95rem;
}

.sct-checklist {
    margin: 0;
    padding-left: 18px;
    color: var(--sct-text-light);
}

.sct-checklist li + li {
    margin-top: 8px;
}

/* ================= SECTIONS ================= */

.sct-section {
    padding: 64px 0;
}

.sct-section-alt {
    background: var(--sct-surface-alt);
    border-top: 1px solid #eee8e1;
    border-bottom: 1px solid #eee8e1;
}

.sct-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sct-accent);
    font-weight: 700;
}

.sct-section-heading {
    max-width: none;
    width: 100%;
    margin-bottom: 28px;
}

.sct-section-heading h2 {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1.18;
    color: #171717;
}

.sct-grid {
    display: grid;
    gap: 18px;
}

.sct-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.sct-card {
    padding: 24px;
}

.sct-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.3;
    color: #171717;
}

.sct-card p {
    margin: 0;
    color: var(--sct-text-light);
}

/* ================= CTA ================= */

.sct-cta {
    padding: 64px 0;
}

.sct-cta-inner {
    padding: 30px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sct-cta h2 {
    margin: 8px 0 0;
    font-size: 1.85rem;
    line-height: 1.2;
    color: #171717;
}

/* ================= FOOTER ================= */

.sct-footer {
    background: #f3eee8;
    color: #5f5a54;
    border-top: 1px solid #e1d8cf;
    margin-top: 56px;
    padding: 28px 0;
    text-align: center;
}

.sct-footer p {
    margin: 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 960px) {
    .sct-hero-layout,
    .sct-grid-3,
    .sct-panel-grid {
        grid-template-columns: 1fr;
    }

    .sct-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sct-hero-main h1 {
        font-size: 2.35rem;
    }
}

@media (max-width: 768px) {
    .sct-header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0;
    }

    .sct-hero-topbar {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .sct-hero {
        padding: 24px 0 48px;
    }

    .sct-hero-main h1 {
        font-size: 2rem;
    }

    .sct-section-heading h2,
    .sct-cta h2 {
        font-size: 1.55rem;
    }
}

/* Hero image sizing */

.sct-hero-image {
    max-width: 420px;     /* controls overall size */
    width: 100%;
    margin-left: auto;    /* pushes it to the right */
}

.sct-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--sct-border);
}

@media (max-width: 900px) {
    .sct-hero-image {
        max-width: 100%;
        margin: 20px 0 0;
    }
}

/* Vertically center hero text */

.sct-hero-layout {
    align-items: center;   /* this centers both columns vertically */
}

.sct-hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Icons above cards */

.sct-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    color: var(--sct-accent);
}

.sct-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* About Page */
.sct-page-about {
  background: #fff;
}

.sct-about-hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
}

.sct-about-hero h1 {
  max-width: 900px;
  margin: 0 auto 18px;
}

.sct-about-hero .sct-hero-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #5b6470;
}

.sct-about-intro {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.sct-about-intro-text p {
  margin: 0 0 18px;
  color: #5b6470;
  line-height: 1.8;
}

.sct-about-stat-card {
  background: #f8fbff;
  border: 1px solid #e5ebf3;
  border-radius: 20px;
  padding: 28px;
}

.sct-stat + .sct-stat {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5ebf3;
}

.sct-stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b1220;
  margin-bottom: 6px;
}

.sct-stat-label {
  display: block;
  color: #5b6470;
  line-height: 1.6;
}

.sct-section-alt {
  background: #f8fbff;
}

.sct-about-cta .sct-cta-box {
  background: linear-gradient(135deg, #0b1220 0%, #162033 100%);
  color: #fff;
  border-radius: 24px;
  padding: 42px 32px;
  text-align: center;
}

.sct-about-cta .sct-cta-box h2 {
  color: #fff;
  margin-bottom: 12px;
}

.sct-about-cta .sct-cta-box p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.sct-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .sct-about-intro {
    grid-template-columns: 1fr;
  }

  .sct-about-hero {
    padding: 72px 0 60px;
  }
}

@media (max-width: 767px) {
  .sct-about-hero h1 {
    font-size: 2rem;
  }

  .sct-about-stat-card {
    padding: 22px;
  }

  .sct-about-cta .sct-cta-box {
    padding: 32px 22px;
  }
}

/* News Category Page */
.sct-news-hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
}

.sct-news-hero h1 {
  margin-bottom: 16px;
}

.sct-news-hero .sct-hero-text {
  max-width: 760px;
  margin: 0 auto;
  color: #5b6470;
  line-height: 1.7;
}

.sct-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.sct-news-card {
  background: #fff;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.05);
}

.sct-news-thumb img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.sct-news-card-body {
  padding: 22px;
}

.sct-news-meta {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: #7b8591;
}

.sct-news-title {
  font-size: 1.3rem;
  line-height: 1.35;
  margin: 0 0 12px;
}

.sct-news-title a {
  color: #0b1220;
  text-decoration: none;
}

.sct-news-title a:hover {
  color: #c32026;
}

.sct-news-excerpt {
  color: #5b6470;
  line-height: 1.7;
  margin-bottom: 14px;
}

.sct-text-link {
  color: #c32026;
  font-weight: 600;
  text-decoration: none;
}

.sct-text-link:hover {
  text-decoration: underline;
}

.sct-pagination {
  margin-top: 32px;
}

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

@media (max-width: 767px) {
  .sct-news-grid {
    grid-template-columns: 1fr;
  }

  .sct-news-hero {
    padding: 72px 0 56px;
  }
}

/* News list page =============================================== */
.sct-news-hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
}

.sct-news-hero h1 {
  margin-bottom: 16px;
}

.sct-news-hero .sct-hero-text {
  max-width: 760px;
  margin: 0 auto;
  color: #5b6470;
  line-height: 1.7;
}

.sct-news-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sct-news-row-card {
  display: grid;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e5ebf3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.06);
}

.sct-news-row-card.has-thumb {
  grid-template-columns: 460px minmax(0, 1fr);
}

.sct-news-row-card.no-thumb {
  grid-template-columns: 1fr;
}

.sct-news-row-thumb {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sct-news-row-thumb img {
  object-fit: cover;
  object-position: left center;
}

.sct-news-row-content {
  padding: 30px 34px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sct-news-row-card.no-thumb .sct-news-row-content {
  max-width: none;
  width: 100%;
}

.sct-news-row-content .sct-btn {
  width: auto;
  align-self: flex-start;
}

.sct-news-meta {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #7b8591;
}

.sct-news-title {
  margin: 0 0 14px;
  font-size: 1.75rem;
  line-height: 1.25;
}

.sct-news-title a {
  color: #0b1220;
  text-decoration: none;
}

.sct-news-title a:hover {
  color: #c32026;
}

.sct-news-excerpt {
  color: #5b6470;
  line-height: 1.75;
  margin-bottom: 22px;
}

.sct-pagination {
  margin-top: 32px;
}

@media (max-width: 991px) {
  .sct-news-row-card.has-thumb {
    grid-template-columns: 1fr;
  }

  .sct-news-row-thumb img {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .sct-news-hero {
    padding: 72px 0 56px;
  }

  .sct-news-row-content {
    padding: 22px;
  }

  .sct-news-title {
    font-size: 1.4rem;
  }
}

/* Single news post ===============================================*/
.sct-single-container {
  max-width: 860px;
}

.sct-single-hero {
  padding: 88px 0 36px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.sct-single-title {
  margin: 0 0 12px;
  font-size: 2.6rem;
  line-height: 1.15;
  color: #0b1220;
}

.sct-single-meta {
  margin: 0 0 28px;
  color: #7b8591;
  font-size: 0.98rem;
}

.sct-single-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.sct-single-article {
  background: #fff;
}

.sct-single-content {
  color: #334155;
  line-height: 1.85;
  font-size: 1.05rem;
}

.sct-single-content p {
  margin: 0 0 1.4em;
}

.sct-single-content h2,
.sct-single-content h3,
.sct-single-content h4 {
  color: #0b1220;
  margin: 1.8em 0 0.7em;
  line-height: 1.25;
}

.sct-single-content ul,
.sct-single-content ol {
  margin: 0 0 1.4em 1.4em;
}

.sct-single-content a {
  color: #c32026;
}

.sct-single-back {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .sct-single-hero {
    padding: 72px 0 28px;
  }

  .sct-single-title {
    font-size: 2rem;
  }

  .sct-single-content {
    font-size: 1rem;
  }
}

/* Products Page */
.sct-page-products {
  background: #fff;
}

.sct-products-hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
}

.sct-products-hero h1 {
  max-width: 920px;
  margin: 0 auto 18px;
}

.sct-products-hero .sct-hero-text {
  max-width: 760px;
  margin: 0 auto;
  color: #5b6470;
  line-height: 1.75;
}

.sct-products-intro {
  max-width: 860px;
  margin: 0 auto 34px;
}

.sct-products-intro p {
  margin: 0;
  color: #5b6470;
  line-height: 1.8;
}

.sct-products-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sct-product-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid #e5ebf3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.05);
}

.sct-product-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 18px;
  background: #f8fbff;
  color: #c32026;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-right: 1px solid #e5ebf3;
}

.sct-product-content {
  padding: 34px;
}

.sct-product-label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c32026;
}

.sct-product-content h2 {
  margin: 0 0 14px;
}

.sct-product-lead {
  margin: 0;
  color: #5b6470;
  line-height: 1.8;
}

.sct-product-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  margin-top: 24px;
}

.sct-product-block {
  background: #f8fbff;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  padding: 24px;
}

.sct-product-block h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.sct-feature-list {
  margin: 0;
  padding-left: 20px;
  color: #5b6470;
  line-height: 1.8;
}

.sct-feature-list li + li {
  margin-top: 4px;
}

.sct-product-block p {
  margin: 0;
  color: #5b6470;
  line-height: 1.8;
}

.sct-products-cta .sct-cta-box {
  background: linear-gradient(135deg, #0b1220 0%, #162033 100%);
  color: #fff;
  border-radius: 24px;
  padding: 42px 32px;
  text-align: center;
}

.sct-products-cta .sct-cta-box h2 {
  color: #fff;
  margin-bottom: 12px;
}

.sct-products-cta .sct-cta-box p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.sct-products-extras {
  margin-top: 42px;
}

.sct-products-extras .sct-card {
  height: 100%;
}

@media (max-width: 991px) {
  .sct-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sct-products-hero {
    padding: 72px 0 56px;
  }

  .sct-product-card {
    grid-template-columns: 1fr;
  }

  .sct-product-number {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #e5ebf3;
    padding: 18px 22px 10px;
  }

  .sct-product-content {
    padding: 22px;
  }

  .sct-product-block {
    padding: 20px;
  }

  .sct-products-cta .sct-cta-box {
    padding: 32px 22px;
  }
}

/* page content */
.sct-page-content {
  max-width: 860px;
}

.sct-page-content h1 {
  margin: 0 0 20px;
}

.sct-page-content p,
.sct-page-content li {
  color: #5b6470;
  line-height: 1.8;
}

.sct-page-content ul {
  margin: 0 0 1.4em 1.4em;
}

/* Contact Page */
.sct-contact-intro {
  text-align: center;
  margin: 0 auto 32px;
}

.sct-contact-intro h1 {
  margin: 0 0 12px;
}

.sct-contact-intro p {
  margin: 0;
}

.sct-contact-card-wrap {
  display: flex;
  justify-content: center;
}

.sct-contact-card {
  width: 100%;
  max-width: 860px;
  background: #fff;
  border: 1px solid var(--sct-border);
  border-radius: 3px;
  box-shadow: none;
  padding: 24px;
}

.sct-contact-form {
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.sct-form-field {
  width: 100%;
}

.sct-contact-form input,
.sct-contact-form textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--sct-border-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--sct-text);
  font: inherit;
  line-height: 1.4;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.sct-contact-form input:focus,
.sct-contact-form textarea:focus {
  outline: none;
  border-color: var(--sct-accent);
  box-shadow: none;
}

.sct-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.sct-contact-submit {
  display: inline-block;
  width: fit-content;
  min-width: 0;
  padding: 14px 20px;
  border-radius: 3px;
  align-self: start;
  justify-self: start;
}

.sct-form-success,
.sct-form-error {
  padding: 14px 16px;
  border-radius: 3px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.sct-form-success {
  background: #f6fbf7;
  border: 1px solid #b8d8bf;
  color: #1f5d2c;
}

.sct-form-error {
  background: #fff5f5;
  border: 1px solid #e6bcbc;
  color: #8f1b1b;
}

.sct-hp-field {
  position: absolute !important;
  left: -9999px !important;
}

@media (max-width: 991px) {
  .sct-contact-card {
    padding: 20px;
  }
}

/* Footer links use normal text color */

.sct-footer a {
    color: inherit;
}

.sct-footer a:hover {
    color: inherit;
    text-decoration: underline;
}
