:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: rgba(17, 24, 39, 0.10);
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);

  --brand: #d47979;
  --brand-strong: #b85c5c;
  --gold: #c8a24b;
  --gold-strong: #ad8629;

  --radius: 14px;
  --radius-sm: 10px;

  --ring: 0 0 0 4px rgba(212, 121, 121, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.site {
  background: var(--bg);
  background-image:
    radial-gradient(1200px 500px at 20% -10%, rgba(212, 121, 121, 0.18), rgba(255, 255, 255, 0)),
    radial-gradient(900px 380px at 90% 0%, rgba(103, 172, 206, 0.12), rgba(255, 255, 255, 0)),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2748%27%20height%3D%2748%27%20viewBox%3D%270%200%2048%2048%27%3E%3Cpath%20d%3D%27M24%2014v20M14%2024h20%27%20stroke%3D%27%23b85c5c%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20opacity%3D%270.05%27/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 48px 48px;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.6;
  padding-top: 74px; /* fixed navbar */
  padding-bottom: 0;
}

a:focus {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

a {
  color: var(--brand-strong);
}
a:hover,
a:focus {
  color: #8f3f3f;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  left: 8px;
}

/* Navbar */
.site-navbar.navbar {
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.site-navbar .navbar-brand {
  height: auto;
  padding: 16px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.12);
}
.site-brand-text {
  font-weight: 650;
  letter-spacing: 0.2px;
  color: var(--text);
}
.site-brand-text:before {
  content: "✠";
  display: inline-block;
  margin-right: 8px;
  color: var(--gold-strong);
  font-weight: 800;
}
.site-navbar .navbar-toggle {
  border: 0;
  margin-top: 12px;
  margin-bottom: 12px;
}
.site-navbar .navbar-toggle .icon-bar {
  background-color: var(--text);
}
.site-navbar .navbar-nav > li > a {
  padding-top: 18px;
  padding-bottom: 18px;
  font-weight: 600;
  color: var(--text);
}
.site-navbar .navbar-nav > li > a:hover,
.site-navbar .navbar-nav > li > a:focus {
  color: var(--brand-strong);
}
.site-navbar .navbar-nav > .active > a,
.site-navbar .navbar-nav > .active > a:hover,
.site-navbar .navbar-nav > .active > a:focus {
  background: transparent;
  color: var(--brand-strong);
}
.site-navbar .navbar-nav > .active > a {
  position: relative;
}
.site-navbar .navbar-nav > .active > a:after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* Layout */
.site-main {
  min-height: calc(100vh - 220px);
}

.marketing {
  padding-bottom: 18px;
}

.page-header {
  padding: 30px 0 18px;
  margin: 0 0 10px;
  border-bottom: 0;
  background: radial-gradient(1200px 500px at 20% -10%, rgba(212, 121, 121, 0.24), rgba(255, 255, 255, 0)),
              radial-gradient(900px 380px at 90% 0%, rgba(103, 172, 206, 0.16), rgba(255, 255, 255, 0));
}
.page-title {
  margin: 0;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  display: inline-block;
  position: relative;
  z-index: 0;
  padding-bottom: 12px;
}
.page-title:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--brand), var(--gold), transparent);
  border-radius: 2px;
  opacity: 0.95;
  z-index: 1;
}
.page-title:before {
  content: "✠";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  color: var(--gold-strong);
  font-size: 14px;
  line-height: 1;
  padding: 0 8px;
  background: rgba(247, 247, 251, 0.9);
  border-radius: 999px;
  z-index: 2;
}
.page-subtitle {
  margin-top: 6px;
  color: var(--muted);
}

h1, h2, h3 {
  letter-spacing: -0.2px;
}
h2 {
  font-weight: 780;
}
h3 {
  font-weight: 740;
}

.section-title {
  margin: 0 0 12px;
  padding-left: 0;
  position: relative;
  color: var(--brand-strong);
}
.section-title span {
  color: inherit;
}
@supports (-webkit-background-clip: text) {
  .section-title {
    background: linear-gradient(90deg, var(--gold-strong), var(--brand-strong));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.section-title:before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0.28em;
  bottom: 0.28em;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--brand));
  box-shadow: 0 0 0 1px rgba(200, 162, 75, 0.18);
}
.section-title small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

hr {
  border-top: 1px solid var(--border);
}

/* Announcement */
.site-announcement {
  margin-top: 18px;
  margin-bottom: 12px;
}
.site-announcement-card {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 162, 75, 0.18);
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.10);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.site-announcement-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(200, 162, 75, 0.95), rgba(212, 121, 121, 0.95));
}
.site-announcement-card:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 220px at 18% 20%, rgba(200, 162, 75, 0.14), rgba(255, 255, 255, 0));
}
.site-announcement-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 162, 75, 0.12);
  border: 1px solid rgba(200, 162, 75, 0.20);
  color: var(--gold-strong);
  flex: 0 0 auto;
}
.site-announcement-icon i {
  font-size: 18px;
}
.site-announcement-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}
.site-announcement-title {
  font-weight: 850;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}
.site-announcement-body {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.site-announcement-actions {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  align-self: center;
}

/* Banner */
.site-banner {
  padding-top: 18px;
}
.site-banner-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Cards / surfaces */
.panel,
.img-thumbnail,
.thumbnail,
.well {
  border-radius: var(--radius-sm);
}
.panel {
  border-color: var(--border);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  background: var(--surface);
  color: var(--text);
}
.panel:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.10);
}
.panel-heading {
  background: rgba(17, 24, 39, 0.02) !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.panel-title {
  font-weight: 760;
  color: var(--text);
}
.img-thumbnail {
  border-color: var(--border);
}

.site-card-image {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.site-card-image-md {
  height: 220px;
}
.site-card-image-lg {
  height: 300px;
}

/* Buttons */
.btn {
  border-radius: 999px;
  font-weight: 650;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:focus {
  outline: none;
  box-shadow: var(--ring);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #9b4646;
  border-color: #9b4646;
}
.btn-default {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 24, 39, 0.14);
  color: var(--text);
}
.btn-default:hover,
.btn-default:focus {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.24);
  color: var(--text);
}
.btn-info {
  border-radius: 999px;
}

/* Text helpers (Bootstrap overrides for dark mode compatibility) */
.text-muted {
  color: var(--muted) !important;
}
small,
.small {
  color: var(--muted);
}

/* Forms */
.form-control {
  border-radius: 12px;
  border-color: rgba(17, 24, 39, 0.14);
  box-shadow: none;
}
.form-control:focus {
  border-color: rgba(212, 121, 121, 0.65);
  box-shadow: var(--ring);
}
.control-label {
  color: var(--muted);
  font-weight: 650;
}

/* Contactos */
.page-contactos .panel-body {
  padding: 24px;
}
.page-contactos .contact-card {
  max-width: 920px;
  margin: 0 auto;
}
.page-contactos .contact-card .panel-heading .panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.page-contactos .contact-card .panel-heading .panel-title i {
  color: var(--gold-strong);
}
.page-contactos .contact-form .form-control {
  padding: 12px 14px;
  font-size: 16px;
}
.page-contactos .contact-form textarea.form-control {
  padding: 12px 14px;
}
.page-contactos .form-group {
  margin-bottom: 18px;
}
.page-contactos textarea.form-control {
  min-height: 280px;
}
.page-contactos .g-recaptcha {
  display: inline-block;
}
.page-contactos .btn.pull-right {
  margin-top: 4px;
}
.page-contactos .contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 0;
}
.page-contactos .contact-actions .btn {
  white-space: nowrap;
}

/* Pároco */
.page-paroco .paroco-card {
  max-width: 920px;
  margin: 0 auto;
}
.page-paroco .paroco-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.page-paroco .paroco-name {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.3px;
}
.page-paroco .paroco-meta {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.page-paroco .paroco-meta li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.page-paroco .paroco-meta li:last-child {
  border-bottom: 0;
}
.page-paroco .paroco-meta i {
  width: 18px;
  margin-top: 3px;
  color: var(--gold-strong);
  opacity: 0.95;
}
.page-paroco .paroco-meta span {
  color: var(--text);
}
.page-paroco .paroco-richtext {
  color: var(--text);
  line-height: 1.7;
}

.page-paroco .paroco-bio {
  max-width: 920px;
  margin: 18px auto 0;
}
.page-paroco .paroco-bio-card .panel-body {
  padding: 18px 22px;
}
.page-paroco .paroco-timeline {
  list-style: none;
  padding-left: 0;
  margin: 0;
  position: relative;
}
.page-paroco .paroco-timeline:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 162, 75, 0.85), rgba(212, 121, 121, 0.85));
  border-radius: 2px;
  opacity: 0.75;
}
.page-paroco .paroco-timeline-item {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}
.page-paroco .paroco-timeline-item:last-child {
  border-bottom: 0;
}
.page-paroco .paroco-timeline-item:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid rgba(200, 162, 75, 0.75);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.14);
}
.page-paroco .paroco-date {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 2px;
  background: rgba(200, 162, 75, 0.14);
  border: 1px solid rgba(200, 162, 75, 0.18);
  color: var(--text);
  font-weight: 750;
  font-size: 13px;
  white-space: nowrap;
}
.page-paroco .paroco-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  margin-right: 6px;
  background: rgba(212, 121, 121, 0.12);
  border: 1px solid rgba(212, 121, 121, 0.18);
  color: var(--brand-strong);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Matriz Machico */
.page-matriz .matriz-hero,
.page-matriz .matriz-gallery,
.page-matriz .matriz-details {
  max-width: 980px;
  margin: 0 auto;
}
.page-matriz .matriz-gallery,
.page-matriz .matriz-details {
  margin-top: 18px;
}
.page-matriz .matriz-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.page-matriz .matriz-lead {
  margin-bottom: 12px;
}
.page-matriz .matriz-text {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 12px;
}
.page-matriz .matriz-facts {
  margin-top: 14px;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 162, 75, 0.18);
  background: rgba(255, 255, 255, 0.70);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.page-matriz .matriz-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 12px;
}
.page-matriz .matriz-facts dt {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
}
.page-matriz .matriz-facts dd {
  margin: 0;
  font-weight: 650;
}
.page-matriz .matriz-accordion .panel-title a {
  display: block;
  text-decoration: none;
  position: relative;
  padding-right: 22px;
}
.page-matriz .matriz-accordion .panel-title a:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold-strong);
  font-weight: 900;
}
.page-matriz .matriz-accordion .panel-title a:not(.collapsed):after {
  content: "–";
}
.page-matriz .matriz-accordion .panel-body {
  padding: 16px 18px;
}

@media (max-width: 767px) {
  .page-matriz .matriz-facts dl {
    grid-template-columns: 1fr;
  }
}

/* Tables */
.table > thead > tr > th {
  border-bottom: 1px solid var(--border);
}
.table-bordered {
  border-color: var(--border);
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
  border-color: var(--border);
}
.table thead tr {
  background: var(--brand-strong);
  color: #fff;
}

.schedule-empty {
  background: rgba(17, 24, 39, 0.04);
}

/* Media */
img {
  border-radius: 12px;
}
iframe {
  border-radius: var(--radius);
}
.embed-responsive {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #000;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding: 26px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.site-footer:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--brand), var(--gold), transparent);
  opacity: 0.75;
}
.site-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer-bottom {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.site-footer-small {
  color: var(--muted);
  font-size: 13px;
}
.site-footer-social {
  display: flex;
  gap: 10px;
}
.site-social-link {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 121, 121, 0.12);
  border: 1px solid rgba(212, 121, 121, 0.20);
  color: var(--brand-strong);
}
.site-social-link:hover,
.site-social-link:focus {
  background: rgba(212, 121, 121, 0.18);
  color: #8f3f3f;
  text-decoration: none;
}
.site-social-link i {
  font-size: 20px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #0f1a2f;
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.70);
    --border: rgba(255, 255, 255, 0.10);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  }
  body.site {
    background: var(--bg);
    background-image:
      radial-gradient(1100px 600px at 10% -10%, rgba(212, 121, 121, 0.18), rgba(0, 0, 0, 0)),
      radial-gradient(900px 500px at 90% 0%, rgba(103, 172, 206, 0.14), rgba(0, 0, 0, 0)),
      url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2748%27%20height%3D%2748%27%20viewBox%3D%270%200%2048%2048%27%3E%3Cpath%20d%3D%27M24%2014v20M14%2024h20%27%20stroke%3D%27%23c8a24b%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20opacity%3D%270.06%27/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: auto, auto, 48px 48px;
  }
  .site-navbar.navbar {
    background: rgba(15, 26, 47, 0.78);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
  .site-brand-text {
    color: var(--text);
  }
  .site-navbar .navbar-nav > li > a {
    color: var(--text);
  }
  .btn-default {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text);
  }
  .btn-default:hover,
  .btn-default:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text);
  }
  .panel-heading {
    background: rgba(255, 255, 255, 0.04) !important;
  }
  .table thead tr {
    background: rgba(184, 92, 92, 0.95);
  }

  .page-title:before {
    background: rgba(11, 18, 32, 0.9);
  }

  .site-announcement-card {
    background: rgba(15, 26, 47, 0.82);
    border-color: rgba(200, 162, 75, 0.16);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.35);
  }
  .site-announcement-card:after {
    background: radial-gradient(520px 220px at 18% 20%, rgba(200, 162, 75, 0.16), rgba(0, 0, 0, 0));
  }
  .site-announcement-icon {
    background: rgba(200, 162, 75, 0.10);
    border-color: rgba(200, 162, 75, 0.18);
    color: #e7cf8a;
  }
}

@media (max-width: 767px) {
  body.site {
    padding-top: 68px;
  }
  .site-navbar .navbar-nav > li > a {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-navbar .navbar-nav > .active > a:after {
    display: none;
  }

  .site-announcement-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px;
  }
  .site-announcement-actions {
    align-self: flex-start;
  }

  .page-contactos .panel-body {
    padding: 18px;
  }
  .page-contactos .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-contactos .contact-actions .btn {
    width: 100%;
  }
}

/* Home */
.page-home .home-section {
  margin-top: 6px;
}
.page-home .home-card,
.page-home .home-app {
  border: 1px solid rgba(200, 162, 75, 0.18);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.page-home .home-card {
  text-align: left;
}
.page-home .home-card .panel-body {
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-home .home-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 162, 75, 0.12);
  border: 1px solid rgba(200, 162, 75, 0.20);
  color: var(--gold-strong);
  margin-bottom: 10px;
}
.page-home .home-card-icon i {
  font-size: 18px;
}
.page-home .home-card-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.page-home .home-card-text {
  line-height: 1.65;
  margin-bottom: 10px;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.page-home .home-card-meta {
  margin-bottom: 14px;
}
.page-home .home-card-actions {
  margin-top: auto;
  margin-bottom: 0;
}
.page-home .home-card-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .home-cards-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.page-home .home-cards-row > [class*="col-"] {
  display: flex;
}
.page-home .home-cards-row .home-card {
  width: 100%;
}

.page-home .home-app .panel-body {
  padding: 18px 18px;
}
.page-home .home-app-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.page-home .home-app-text {
  line-height: 1.65;
  margin-bottom: 0;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.page-home .home-app-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.page-home .home-app-actions .btn i {
  margin-right: 6px;
}

@media (max-width: 991px) {
  .page-home .home-cards-row {
    display: block;
  }
  .page-home .home-cards-row > [class*="col-"] {
    display: block;
  }

  .page-home .home-app-actions {
    justify-content: flex-start;
    margin-top: 12px;
  }
}

@media (prefers-color-scheme: dark) {
  .page-home .home-card,
  .page-home .home-app {
    background: rgba(15, 26, 47, 0.78);
    border-color: rgba(200, 162, 75, 0.16);
  }
  .page-home .home-card-icon {
    background: rgba(200, 162, 75, 0.10);
    border-color: rgba(200, 162, 75, 0.18);
    color: #e7cf8a;
  }
}
