/* ==========================================================================
   Þorlákskirkja – custom styles (Helix Ultimate + SP Page Builder)
   Recreates the look of the previous thorlakskirkja.is ("Finatic") site.
   ========================================================================== */
@import url("finatic-font.css"); /* line icons used by the old site (tabs, staff, contact) */

:root {
  --tk-green: #4e7e5c;
  --tk-green-dark: #3d6449;
  --tk-dark: #252525;
  --tk-text: #828282;
  --tk-muted: #9a9a9a;
  --tk-bg: #f4f4f4;
  --tk-line: #e6e6e6;
  --tk-serif: "Noto Serif", Georgia, serif;
  --tk-sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

body { color: var(--tk-text); line-height: 1.75; background: var(--tk-bg); }
h1, h2, h3, h4, h5, h6 { color: var(--tk-dark); }
a { color: var(--tk-green); }
a:hover, a:focus { color: var(--tk-green-dark); }
img { max-width: 100%; height: auto; }

/* Content width like the old site (1110px inner) */
@media (min-width: 1200px) {
  #sp-header .container, .sp-page-title .container, #sp-main-body > .container,
  #sp-bottom .container, #sp-footer .container, .sppb-row-container {
    max-width: 1140px !important;
  }
}

/* ---------- Top bar: thin green strip ---------- */
#sp-top-bar { background: var(--tk-green); padding: 0; height: 16px; overflow: hidden; }
#sp-top-bar .container { display: none; }

/* ---------- Header: logo + e-mail row, menu row underneath ---------- */
#sp-header {
  height: auto !important;
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid var(--tk-line);
}
#sp-header > .container > .container-inner > .row { flex-wrap: wrap; }
#sp-header #sp-logo { flex: 0 0 100%; max-width: 100%; }
#sp-header #sp-logo .sp-column {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 86px;
}
#sp-header .logo { height: auto; display: flex; align-items: center; }
#sp-header .logo img { height: 34px; width: auto; }
#sp-header #sp-logo .sp-module { margin: 0; }
.tk-header-email { margin: 0; font-size: 13px; line-height: 1; }
.tk-header-email a { color: var(--tk-text); display: inline-flex; align-items: center; gap: 10px; }
.tk-header-email a:hover { color: var(--tk-green); }
.tk-header-email .fn-email { color: var(--tk-green); font-size: 20px; }

#sp-header #sp-menu { flex: 0 0 100%; max-width: 100%; position: relative !important; }
#sp-header #sp-menu::before {
  content: ""; position: absolute; top: 0; left: -100vw; right: -100vw; border-top: 1px solid var(--tk-line);
}
#sp-header #sp-menu > .sp-column { justify-content: flex-start !important; }
.sp-megamenu-parent { margin-left: -2px; }
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  font-family: var(--tk-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 50px;
  padding: 0;
  margin-right: 38px;
  color: var(--tk-text);
}
.sp-megamenu-parent > li:last-child > a { margin-right: 0; padding-left: 0 !important; }
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li > a:hover { color: var(--tk-green); }

/* sticky: keep only the menu row visible */
#sp-header.header-sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 99; box-shadow: 0 3px 12px rgba(0,0,0,.08); }
#sp-header.header-sticky #sp-logo .sp-column { height: 64px; }

@media (max-width: 1199.98px) {
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { margin-right: 28px; }
}
@media (max-width: 991.98px) {
  #sp-header #sp-logo { flex: 1 1 auto; max-width: none; width: auto; }
  #sp-header #sp-logo .sp-column { height: 70px; }
  #sp-header #sp-logo .sp-module { display: none; }
  #sp-header #sp-menu { flex: 0 0 auto; width: auto; }
  #sp-header #sp-menu::before { display: none; }
  #sp-header.header-sticky #sp-logo .sp-column { height: 60px; }
}
@media (max-width: 575.98px) {
  #sp-header .logo img { height: 28px; }
  #sp-header #sp-logo .sp-column { height: 62px; }
}
#offcanvas-toggler .burger-icon > span { background-color: var(--tk-dark); }

/* Offcanvas menu */
.offcanvas-menu { background: #fff; }
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  font-family: var(--tk-sans); font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--tk-dark);
}
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover { color: var(--tk-green); }

/* ---------- Page title ---------- */
#sp-section-1 > .row { margin-left: 0; margin-right: 0; }
#sp-title { padding: 0; }
.sp-page-title {
  background: #fff;
  padding: 60px 0 62px;
  border-bottom: 1px solid var(--tk-line);
}
.sp-page-title .sp-page-title-heading {
  font-family: var(--tk-sans);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
  margin: 0 0 14px;
}
.sp-page-title .sp-page-title-sub-heading {
  font-family: var(--tk-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #a3a3a3;
  margin: 0;
}
@media (max-width: 767.98px) {
  .sp-page-title { padding: 40px 0 42px; }
  .sp-page-title .sp-page-title-heading { font-size: 32px; }
}

/* ---------- General SPPB helpers ---------- */
.sppb-addon-text-block .sppb-addon-content { font-size: 16px; line-height: 1.75; }
.sppb-addon-text-block p:last-child { margin-bottom: 0; }
.tk-lead .sppb-addon-content { font-size: 16px; }
.tk-small-text .sppb-addon-content { font-size: 14px; line-height: 24px; }
.sppb-addon-image .sppb-img-responsive { width: 100%; }

.tk-kicker .sppb-addon-title {
  font-family: var(--tk-sans) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4 !important;
  color: #fff;
  margin-bottom: 18px !important;
}
.tk-kicker-dark .sppb-addon-title { color: var(--tk-dark); }
.tk-card-title .sppb-addon-title { font-family: var(--tk-serif); font-size: 28px; line-height: 1.45; font-weight: 400; color: #000; margin-bottom: 25px !important; }
.tk-section-title .sppb-addon-title { font-family: var(--tk-serif); font-size: 37px; font-weight: 700; color: #000; margin-bottom: 40px !important; }
@media (max-width: 767.98px) {
  .tk-card-title .sppb-addon-title { font-size: 21px; }
  .tk-section-title .sppb-addon-title { font-size: 26px; margin-bottom: 25px; }
}

/* Green information boxes (Dagskrá, Fermingardagar, Skráning) */
.tk-green-box, .tk-green-box p, .tk-green-box .sppb-addon-title { color: #fff; }
.tk-green-box .sppb-addon-text-block a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.tk-green-box a:hover { color: #e3efe6; }
.tk-box-title .sppb-addon-title { font-family: var(--tk-serif); font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 25px !important; }
.tk-box-text .sppb-addon-content { font-size: 15px; line-height: 1.75; }
.tk-box-text p { margin-bottom: 20px; }
.tk-green-box .sppb-addon-wrapper:last-child .sppb-addon,
.tk-green-box .sppb-addon-wrapper:last-child { margin-bottom: 0; }
a.tk-btn-white.sppb-btn { font-family: var(--tk-sans); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 15px; margin-top: 30px; padding: 15px 25px !important; text-decoration: none !important; border-radius: 0; }

/* ---------- Home ---------- */
.tk-hero .sppb-sp-slider-title, .tk-hero .sp-slider-content-align-left h2, .tk-hero .sp-slider-content-align-left h3 { text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 4px 24px rgba(0,0,0,.6); }
.tk-hero .tk-slide-title, .tk-hero h2.sppb-sp-slider-title { font-family: var(--tk-serif); font-weight: 700; font-size: 56px; line-height: 1.2; max-width: 820px; }
.tk-hero h3.sppb-sp-slider-title { font-family: var(--tk-sans); font-weight: 400; font-size: 21px; }
@media (max-width: 991.98px) { .tk-hero h2.sppb-sp-slider-title { font-size: 40px; } }
@media (max-width: 575.98px) { .tk-hero h2.sppb-sp-slider-title { font-size: 26px; } .tk-hero h3.sppb-sp-slider-title { font-size: 16px; } }

/* News cards (SPPB articles addon) */
.tk-news-cards .sppb-addon-content > .sppb-row { row-gap: 30px; align-items: flex-start; }
.tk-news-cards .sppb-addon-article {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
}
.tk-news-cards .sppb-article-img-wrap { display: block; overflow: hidden; }
.tk-news-cards .sppb-article-img-wrap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.tk-news-cards .sppb-article-img-wrap:hover img { transform: scale(1.03); }
.tk-news-cards .sppb-article-info-wrap { padding: 25px 30px 0; display: flex; flex-direction: column; flex: 1; }
.tk-news-cards .sppb-article-meta { order: -1; margin: 0 0 12px; font-size: 13px; color: var(--tk-text); }
.tk-news-cards .sppb-article-info-wrap h3 { font-family: var(--tk-serif); font-size: 21px; line-height: 1.45; font-weight: 400; margin: 0 0 25px; }
.tk-news-cards .sppb-article-info-wrap h3 a { color: var(--tk-dark); }
.tk-news-cards .sppb-article-info-wrap h3 a:hover { color: var(--tk-green); }
.tk-news-cards .sppb-readmore {
  margin: auto -30px 0;
  padding: 15px 30px;
  border-top: 1px solid var(--tk-line);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tk-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.tk-news-cards .sppb-readmore::after { content: "\2192"; font-size: 20px; line-height: 1; }
.tk-news-cards .sppb-readmore:hover { color: var(--tk-green); }
.tk-news-cards .sppb-addon-article-layout { margin-bottom: 0; }
@media (max-width: 767.98px) {
  .tk-news-cards .sppb-addon-content > .sppb-row { margin-left: 0; margin-right: 0; }
  .tk-news-cards .sppb-addon-article-layout { padding-left: 0; padding-right: 0; }
  .tk-news-cards { margin-bottom: 50px; }
}
@media (max-width: 991.98px) { .tk-home-news .tk-news-cards { margin-bottom: 50px; } }
.tk-news-cards .sppb-addon-content > a.sppb-btn:hover { background: var(--tk-green) !important; color: #fff !important; }
.tk-news-cards .sppb-addon-content > a.sppb-btn {
  display: table; margin: 45px auto 0; border: 2px solid var(--tk-green) !important; border-radius: 0; padding: 12px 25px !important; color: var(--tk-green) !important; background: transparent !important;
  font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ---------- Þorlákskirkja: icon tabs ---------- */
.tk-icon-tabs .sppb-nav { display: flex; flex-wrap: wrap; gap: 0; border: 0; margin-bottom: 40px; }
.tk-icon-tabs .sppb-nav > li { margin: 0; }
.tk-icon-tabs .sppb-nav > li > a {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  min-width: 200px; min-height: 200px; padding: 30px; margin: 0;
  font-family: var(--tk-serif); font-size: 21px; font-weight: 400; line-height: 1.3;
  color: var(--tk-dark) !important; background: transparent !important; border: 0 !important; border-radius: 0;
  transition: background-color .25s ease, color .25s ease;
}
.tk-icon-tabs .sppb-nav > li > a .sppb-tab-icon { display: block; margin: 0 0 18px; }
.tk-icon-tabs .sppb-nav > li > a .sppb-tab-icon i { font-size: 52px; color: var(--tk-green); transition: color .25s ease; }
.tk-icon-tabs .sppb-nav > li.active > a,
.tk-icon-tabs .sppb-nav > li > a:hover { background: var(--tk-green) !important; color: #fff !important; }
.tk-icon-tabs .sppb-nav > li.active > a .sppb-tab-icon i,
.tk-icon-tabs .sppb-nav > li > a:hover .sppb-tab-icon i { color: #fff; }
.tk-icon-tabs .sppb-tab-content { padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.tk-icon-tabs .sppb-tab-content > div { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.tk-tab-text .sppb-addon-content { font-size: 15px; line-height: 1.7; }
.tk-tab-heading .sppb-addon-title { font-family: var(--tk-serif); font-size: 24px; font-weight: 700; margin-bottom: 15px !important; }
@media (max-width: 991.98px) {
  .tk-icon-tabs .sppb-nav > li { flex: 1 1 50%; }
  .tk-icon-tabs .sppb-nav > li > a { min-width: 0; min-height: 150px; padding: 22px; font-size: 19px; }
}
@media (max-width: 575.98px) {
  .tk-icon-tabs .sppb-nav > li > a { min-height: 120px; padding: 16px; font-size: 16px; }
  .tk-icon-tabs .sppb-nav > li > a .sppb-tab-icon i { font-size: 38px; }
}
.tk-divider .sppb-divider { border-color: #d6d6d6 !important; }

/* Staff (SPPB person addon, layout4) */
.tk-person { margin-bottom: 50px; }
.tk-person .sppb-person-image img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; }
.tk-person .sppb-person-name { font-family: var(--tk-serif) !important; font-size: 30px !important; line-height: 1.25 !important; font-weight: 400 !important; color: #111 !important; margin-bottom: 12px; display: block; }
@media (max-width: 767.98px) { .tk-person .sppb-person-name { font-size: 24px !important; } }
.tk-person .sppb-person-designation { font-family: var(--tk-sans) !important; font-weight: 300 !important; font-size: 15px !important; color: var(--tk-dark) !important; padding-bottom: 12px; border-bottom: 1px solid #cfcfcf; display: block; margin-bottom: 15px; }
.tk-person .sppb-person-introtext { font-size: 15px !important; line-height: 1.7 !important; color: var(--tk-dark) !important; }
.tk-person .sppb-person-introtext p { margin-bottom: 6px; }
.tk-person .sppb-person-introtext a { color: var(--tk-dark); }
.tk-person .sppb-person-introtext a:hover { color: var(--tk-green); }
.tk-contact-line [class^="fn-"] { color: var(--tk-green); margin-right: 8px; font-size: 18px; vertical-align: -3px; }
.tk-person-noimg .sppb-person-image { display: none !important; }
.tk-person-noimg .sppb-person-information-wrap, .tk-person-noimg .sppb-person-addon-content-wrap { padding-left: 0 !important; }

/* ---------- Image + white card (Fermingar, Æskulýðsstarf) ---------- */
.tk-card-image .sppb-img-responsive { display: block; }
.tk-card-image-inset { padding: 0 5%; }
.tk-card {
  position: relative; z-index: 2;
  margin: -70px 30px 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.tk-card .sppb-row-container, .tk-card > .sppb-row-container { max-width: 100% !important; }
@media (max-width: 767.98px) { .tk-card { margin: -40px 12px 0 !important; } }

/* ---------- Safnaðarstarf: service cards ---------- */
.tk-service .sppb-addon-image .sppb-img-responsive { width: 100%; aspect-ratio: 350 / 295; object-fit: cover; display: block; }
.tk-service-title { position: relative; z-index: 2; margin: 0 25px !important; background: #fff; }
.tk-service-title { margin-top: -86px !important; }
.tk-service-title .sppb-addon-title { font-family: var(--tk-serif) !important; font-size: 21px !important; font-weight: 700 !important; padding: 28px 30px 26px !important; margin: 0 !important; line-height: 1.4 !important; }
.tk-service-title .sppb-addon-title a { color: #000; }
.tk-service-title .sppb-addon-title a:hover { color: var(--tk-green); }
.tk-service .sppb-button-wrapper { margin: 0 25px; position: relative; z-index: 2; }
a.tk-service-more.sppb-btn {
  display: flex !important; justify-content: space-between; align-items: center; width: 100%;
  background: #fff !important; border: 0 !important; border-top: 1px solid var(--tk-line) !important; border-radius: 0 !important;
  box-shadow: 0 2px 3px rgba(0,0,0,.05);
  padding: 13px 30px !important; font-size: 13px !important; letter-spacing: 1px; text-transform: uppercase; text-decoration: none !important;
  color: var(--tk-muted) !important;
}
a.tk-service-more.sppb-btn:hover { color: var(--tk-green) !important; }
a.tk-service-more.sppb-btn i { margin: 0 !important; font-size: 18px; }
@media (max-width: 991.98px) {
  .tk-service .sppb-addon-image .sppb-img-responsive { aspect-ratio: 4 / 3; }
  .tk-service-title { margin: 0 12px !important; }
  .tk-service .sppb-button-wrapper { margin: 0 12px; }
  .tk-service-title { margin-top: -70px !important; }
  .tk-service-title .sppb-addon-title { padding: 18px 18px 16px !important; font-size: 18px !important; }
  a.tk-service-more.sppb-btn { padding: 12px 18px !important; }
}
@media (max-width: 767.98px) { .tk-services .sppb-column { margin-bottom: 30px; } }

/* ---------- Kirkjurnar: image + content ---------- */
.tk-church .sppb-image-holder { min-height: 590px; }
.tk-church .sppb-image-content-title { font-family: var(--tk-serif); font-size: 40px; font-weight: 700; color: var(--tk-text); margin-bottom: 10px; }
.tk-church .sppb-image-content-text { font-size: 16px; line-height: 1.65; }
.tk-church .sppb-btn { display: none; }
@media (max-width: 767.98px) {
  .tk-church .sppb-image-holder { min-height: 300px; }
  .tk-church .sppb-image-content-title { font-size: 30px; }
}

/* ---------- Myndir ---------- */
.tk-album-title .sppb-addon-title { font-family: var(--tk-serif); font-size: 28px; font-weight: 700; }
.tk-gallery .sppb-gallery { margin: 0; }
.tk-gallery .sppb-gallery img { object-fit: cover; transition: opacity .25s ease; }
.tk-gallery .sppb-gallery a:hover img { opacity: .85; }

/* ---------- Sub pages ---------- */
.tk-side-image .sppb-img-responsive { width: 100%; }
@media (max-width: 767.98px) { .tk-simple .sppb-column-addons { margin-bottom: 25px; } }

/* ---------- Contact ---------- */
.tk-contact-list { list-style: none; margin: 0; padding: 0; }
.tk-contact-list li { display: flex; gap: 18px; margin-bottom: 26px; font-size: 15px; line-height: 1.6; }
.tk-contact-list li > span { font-size: 28px; color: var(--tk-green); line-height: 1; flex: 0 0 32px; margin-top: 2px; }
.tk-contact-list strong { color: var(--tk-dark); font-weight: 700; }
.tk-form-col > .sppb-column { background: #fff; padding: 40px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
@media (max-width: 767.98px) { .tk-form-col > .sppb-column { padding: 25px 20px; } }
.tk-contact-form .sppb-form-control, .tk-contact-form input[type="text"], .tk-contact-form input[type="email"],
.tk-contact-form input[type="tel"], .tk-contact-form textarea {
  border: 1px solid #dcdcdc; border-radius: 0; background: #fafafa; padding: 12px 15px; font-size: 15px; color: var(--tk-dark); box-shadow: none;
}
.tk-contact-form textarea { min-height: 160px; }
.tk-contact-form .sppb-form-control:focus, .tk-contact-form input:focus, .tk-contact-form textarea:focus { border-color: var(--tk-green); background: #fff; outline: none; }
.tk-contact-form label { font-size: 14px; font-weight: 700; color: var(--tk-dark); }
/* space between the spam check and the send button */
.tk-contact-form altcha-widget, .tk-contact-form .sppb-form-builder-powcaptcha { display: block; margin: 10px 0 30px !important; }
.tk-contact-form .sppb-form-builder-btn { margin-top: 0; }
.tk-contact-form .sppb-btn { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }
.tk-contact-form altcha-widget {
  --altcha-border-radius: 0;
  --altcha-color-border: #dcdcdc;
  --altcha-color-border-focus: var(--tk-green);
  --altcha-color-base: #fafafa;
  --altcha-color-text: var(--tk-dark);
  --altcha-max-width: 100%;
}
.tk-map-row .sppb-row-container, .tk-map-row > .sppb-container-inner { max-width: 100% !important; padding: 0; }

/* ---------- Blog (Fréttir) ---------- */
#sp-main-body { padding: 80px 0; }
.view-article #sp-main-body, .view-category #sp-main-body { padding: 80px 0 60px; }
.com-sppagebuilder #sp-main-body { padding: 0; }
.tk-news > .row { row-gap: 30px; }
.tk-news > .row + .row { margin-top: 30px; }  /* the blog prints one .row per line of cards */
.tk-news .article {
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0;
}
.tk-news .article .article-intro-image, .tk-news .article .article-intro-image a { margin: 0 !important; display: block; overflow: hidden; }
.tk-news .article > a { display: block; }
.tk-news .article-intro-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.tk-news .article-body { padding: 28px 30px 30px; display: flex; flex-direction: column; }
.tk-news .article-info { order: -1; margin: 0 0 12px; font-size: 13px; color: var(--tk-muted); }
.tk-news .article-info > span { margin: 0; }
.tk-news .article-header h2 { font-family: var(--tk-sans); font-size: 20px; line-height: 1.4; font-weight: 400; margin: 0 0 12px; }
.tk-news .article-header h2 a { color: #111 !important; }
.tk-news .article-header h2 a:hover { color: var(--tk-green) !important; }
.tk-news .article-introtext { font-size: 15px; line-height: 1.6; color: var(--tk-text); }
.tk-news .article-introtext p { margin-bottom: 14px; }
.tk-news .article-introtext img { margin: 10px 0; }
.com-content-category-blog .pagination-wrapper, .com-content-category-blog .com-content-category-blog__navigation { margin-top: 50px; border-top: 1px solid var(--tk-line); padding-top: 30px; display: flex; justify-content: center; }
.pagination { gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-link { border: 0; background: transparent; color: var(--tk-muted); font-family: var(--tk-serif); font-weight: 700; border-radius: 0; }
.pagination .page-item.active .page-link { background: transparent; color: var(--tk-green); border-bottom: 2px solid var(--tk-green); }
.pagination .page-link:hover { color: var(--tk-green); background: transparent; }

/* Single article: image, white box with date + title overlapping it, then the text */
.article-details { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; }
.article-details > * { order: 10; }
.article-details .article-full-image { order: 1; float: none !important; margin: 0; }
.article-details .article-full-image img { width: 100%; max-height: 720px; object-fit: cover; display: block; border-radius: 0; }
.article-details .article-info { order: 2; position: relative; z-index: 2; background: #fff; margin: 0 2.5%; padding: 45px 50px 0; font-size: 14px; color: var(--tk-muted); }
.article-details .article-full-image ~ .article-info { margin-top: -60px; }
.article-details .article-header { order: 3; position: relative; z-index: 2; background: #fff; margin: 0 2.5%; padding: 6px 50px 45px; }
.article-details .article-header h1 { font-family: var(--tk-serif); font-size: 28px; line-height: 1.4; font-weight: 400; color: #000; margin: 0; }
.article-details .article-can-edit { order: 4; }
.article-details .com-content-article__body { order: 5; padding: 45px 72px 20px; font-size: 16px; line-height: 1.75; }
.article-details .com-content-article__body img { margin: 10px 0; }
.article-details .pagenavigation { order: 6; border-top: 1px solid var(--tk-line); margin: 20px 72px 0; padding: 30px 0 0; }
.article-details .pagenavigation .pagination { width: 100%; display: flex; justify-content: space-between; }
.article-details .pagenavigation .next { margin-left: auto; }
.article-details .pagenavigation .btn { background: transparent; border: 0; color: var(--tk-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: 13px; }
.article-details .pagenavigation .btn:hover { color: var(--tk-green); }
@media (max-width: 767.98px) {
  .article-details .article-info { padding: 25px 22px 0; }
  .article-details .article-header { padding: 6px 22px 25px; }
  .article-details .com-content-article__body { padding: 30px 5px 10px; }
  .article-details .pagenavigation { margin: 20px 5px 0; }
  .article-details .article-header h1 { font-size: 22px; }
  .article-details .article-full-image ~ .article-info { margin-top: -30px; }
}

/* ---------- Bottom (footer columns) ---------- */
#sp-bottom { background: #fff; padding: 70px 0 60px; color: var(--tk-text); font-size: 15px; line-height: 1.7; }
#sp-bottom .sp-module { margin-bottom: 25px; }
#sp-bottom .sp-module-title, .tk-footer-title {
  font-family: var(--tk-serif); font-size: 21px; font-weight: 700; color: #000; margin: 0 0 28px; text-transform: none;
}
#sp-bottom a { color: var(--tk-text); }
#sp-bottom a:hover { color: var(--tk-green); }
#sp-bottom p { margin-bottom: 14px; }
.tk-footer-logo { margin-bottom: 22px !important; }
.tk-footer-logo img { width: 38px; height: auto; }
.tk-map-link .fas { color: var(--tk-green); margin-right: 4px; }
#sp-bottom .tk-map-link a { color: var(--tk-green); }
.tk-footer-links { list-style: none; margin: 0; padding: 0; }
#sp-bottom .tk-footer-links li { margin: 0 !important; padding: 0; line-height: 1.75; }
#sp-bottom .mod-articles-items, #sp-bottom ul.mod-articles { list-style: none; margin: 0; padding: 0; }
#sp-bottom .mod-articles-items li, #sp-bottom ul.mod-articles li { margin: 0 0 12px; line-height: 1.6; padding: 0; border: 0; }
#sp-bottom .mod-articles-items li p, #sp-bottom .mod-articles-items .mod-articles-title { margin: 0; font-size: 15px; font-weight: 400; font-family: var(--tk-sans); }
.tk-footer-gallery .sppb-gallery { margin: 0 !important; padding: 0 !important; display: grid !important; grid-template-columns: repeat(3, 70px); gap: 10px; }
.tk-footer-gallery .sppb-gallery li img { width: 70px; height: 70px; }
#sp-bottom .tk-footer-gallery .sppb-gallery li { margin: 0 !important; padding: 0; }
.tk-footer-gallery .sppb-gallery::before, .tk-footer-gallery .sppb-gallery::after { display: none; }
.tk-footer-gallery .sppb-gallery img { object-fit: cover; }
@media (max-width: 991.98px) { #sp-bottom { padding: 50px 0 30px; } #sp-bottom .sp-column { margin-bottom: 20px; } }

/* ---------- Footer ---------- */
#sp-footer { background: #fff; border-top: 1px solid var(--tk-line); color: var(--tk-text); font-size: 13px; }
#sp-footer .container-inner { padding: 22px 0; border: 0; }
#sp-footer a { color: var(--tk-text); }
#sp-footer a:hover { color: var(--tk-green); }
#sp-footer #sp-footer2 .sp-column { text-align: right; }
.tk-footer-social { margin: 0; display: inline-flex; align-items: center; gap: 18px; }
.tk-footer-social .tk-fb img { width: 24px; height: 24px; display: block; }
@media (max-width: 991.98px) {
  #sp-footer #sp-footer1 .sp-column, #sp-footer #sp-footer2 .sp-column { text-align: center; }
  #sp-footer #sp-footer2 { margin-top: 10px; }
}

/* Back to top */
.sp-scroll-up { background: var(--tk-green); color: #fff; }
.sp-scroll-up:hover { background: var(--tk-green-dark); color: #fff; }
