﻿/*
Theme Name: Firma Landing v5
Theme URI: 
Author: 
Description: Multi-company landing theme with fast content fields.
Version: 1.0.35
Text Domain: firma-landing
*/

:root {
  --primary: #111827;
  --accent: #16a34a;
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --nav-line: #e11d48;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: "Merriweather", "Times New Roman", serif;
  color: #0b0f19;
  margin: 0 0 12px;
  line-height: 1.35;
}

h1 {
  font-size: clamp(28px, 3.5vw, 38px);
  text-transform: capitalize;
}

h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 28px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

h3 {
  font-size: 18px;
  margin-top: 20px;
}

p {
  margin: 0 0 16px;
  color: var(--text);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-bar {
  background: var(--primary);
  color: #fff;
  padding: 14px 0;
}

.brand-inner {
  display: flex;
  justify-content: center;
}

.site-branding {
  display: block;
  text-align: center;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-branding img {
  max-height: 72px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
}

.site-tagline {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 4px;
}

.nav-bar {
  background: var(--primary);
  border-top: 2px solid var(--nav-line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.main-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.main-nav a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.site-main {
  background: var(--bg);
}

.cta-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 18px 0 6px;
}

.cta-button {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}

.cta-button:hover {
  text-decoration: none;
  filter: brightness(0.95);
}

.cta-button-main {
  background: #2ecc71 !important;
  border-color: #2ecc71 !important;
  color: #ffffff !important;
}

.cta-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 16px 0 64px;
  align-items: start;
}

.entry {
  background: transparent;
  border: none;
  padding: 0 0 10px;
}

.entry-header {
  text-align: center;
  margin-bottom: 10px;
}

.entry-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.entry-content a.brand-link,
.entry-single a.brand-link {
  color: #16a34a;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  padding: 0 2px;
}

.entry-content a.brand-link:hover,
.entry-single a.brand-link:hover {
  color: #15803d;
  text-decoration: underline;
}

.entry-hero {
  margin: 16px 0 18px;
  text-align: center;
}

.entry-hero img {
  width: min(460px, 100%);
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  border-radius: 10px;
  display: inline-block;
}

.single-layout {
  padding: 28px 0 64px;
}

.entry-single {
  max-width: none;
}

.entry-single img {
  max-width: min(460px, 100%);
  height: auto;
}

.entry-media {
  margin: 20px 0;
}

.entry-media figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.entry-content ol,
.entry-content ul,
.entry-content .table {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  width: min(640px, 100%);
}

.entry-content ol,
.entry-content ul {
  padding-left: 20px;
}

.table {
  border-collapse: collapse;
  margin: 16px auto 22px;
}

.table td {
  border: 1px solid #111827;
  padding: 10px 12px;
  font-size: 14px;
}

.table tr:first-child td {
  background: #111827;
  color: #fff;
  font-weight: 700;
}

.steps li,
.bullet-list li {
  margin-bottom: 8px;
}

blockquote {
  margin: 20px auto;
  padding: 12px 16px;
  border-left: 3px solid #0f172a;
  color: #0f172a;
  font-style: italic;
  max-width: 660px;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.sidebar .widget {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 22px;
}

.widget-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: #0b0f19;
  text-transform: none;
  letter-spacing: 0;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget li {
  margin-bottom: 8px;
}

.widget a {
  color: #0f172a;
}

.search-form {
  display: flex;
  gap: 6px;
}

.search-form input[type="search"] {
  flex: 1;
  border: 1px solid var(--border);
  padding: 6px 8px;
  font-size: 13px;
}

.search-form input[type="submit"] {
  border: 1px solid var(--border);
  background: #f9fafb;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.site-footer {
  border-top: 3px solid #ef4444;
  padding: 24px 0 16px;
  background: var(--primary);
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.footer-text {
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 12px;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin-bottom: 10px;
}

.post-meta {
  color: var(--muted);
  font-size: 12px;
}

.content-feed {
  max-width: 720px;
  margin: 34px auto 0;
  text-align: left;
}

.content-feed h2 {
  text-align: left;
}

.feed-list {
  display: grid;
  gap: 16px;
}

.feed-card {
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 4px;
  background: #fff;
}

.feed-card h3 {
  margin: 0 0 10px;
}

.feed-meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.feed-card p {
  text-align: left;
}

.feed-media {
  margin: 0 0 10px;
}

.feed-media img {
  width: 100%;
  height: auto;
}

.feed-link {
  display: inline-block;
  font-weight: 700;
}

.archive-wrap {
  padding: 28px 0 64px;
}

.archive-title {
  margin-bottom: 18px;
}

.archive-list {
  display: grid;
  gap: 16px;
}

.archive-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  padding: 10px;
}

.archive-card-media img {
  width: 100%;
  height: 188px;
  object-fit: contain;
  background: #f8fafc;
  display: block;
  border-radius: 4px;
}

.archive-card-content {
  min-width: 0;
}

.archive-card-category {
  margin: 2px 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.archive-card-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.archive-card-title a {
  color: #0b0f19;
}

.archive-card-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
}

.archive-card-excerpt {
  margin: 0 0 10px;
  text-align: left;
}

.archive-pagination {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    padding: 10px 0;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .archive-card-title {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .site-branding {
    flex-direction: column;
  }

  .cta-top {
    flex-direction: column;
  }
}


