/*
Theme Name:     Hostadum v3
Theme URI:      n/a
Template:       kadence
Author:         Pro Author
Author URI:     https://www.hostadum.fi/
Description:    Hostadum lapsiteema, pohjalla Kadence
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

/* =========================================================
   TIMO'S DELI - DESIGN TOKENS
   ========================================================= */

:root {
  --timos-black: #000000;
  --timos-black-soft: #14110C;

  --timos-yellow: #FFCB05;
  --timos-yellow-soft: #FFE173;

  --timos-cream: #FFF9EF;
  --timos-cream-2: #F7EDDD;
  --timos-cream-3: #EFE2CC;
  --timos-white: #FFFFFF;

  --timos-text: #211A13;
  --timos-muted: #6E6253;
  --timos-footer-text: #BDB5AA;

  --timos-border: rgba(33, 26, 19, 0.13);
  --timos-light-border: rgba(255, 255, 255, 0.18);

  --timos-heading-font: "Playfair Display", Georgia, serif;
  --timos-body-font: "Inter", Arial, sans-serif;
  --timos-script-font: "Caveat", cursive;

  --timos-container: 1240px;
}

/* =========================================================
   SCOPED PAGE BASE
   ========================================================= */

body:has(.timos-page),
body:has(.timos-page) .site,
body:has(.timos-page) .site-main,
body:has(.timos-page) .content-bg,
body:has(.timos-page) .entry,
body:has(.timos-page) .entry-content-wrap,
body:has(.timos-page) .single-content {
  background: var(--timos-cream);
}

body:has(.timos-page) .content-container,
body:has(.timos-page) .site-container,
body:has(.timos-page) .content-area,
body:has(.timos-page) .site-main,
body:has(.timos-page) .content-wrap,
body:has(.timos-page) article.entry,
body:has(.timos-page) .entry-content-wrap,
body:has(.timos-page) .single-content {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.timos-page,
.timos-hero,
.timos-services,
.timos-retail,
.timos-social,
.timos-quality,
.timos-contact,
.timos-footer,
.timos-copyright {
  font-family: var(--timos-body-font);
  box-sizing: border-box;
}

.timos-page *,
.timos-hero *,
.timos-services *,
.timos-retail *,
.timos-social *,
.timos-quality *,
.timos-contact *,
.timos-footer *,
.timos-copyright * {
  box-sizing: border-box;
}

.timos-page {
  background: var(--timos-cream);
  color: var(--timos-text);
}

.timos-hero > .kt-row-column-wrap,
.timos-services > .kt-row-column-wrap,
.timos-retail > .kt-row-column-wrap,
.timos-social > .kt-row-column-wrap,
.timos-quality > .kt-row-column-wrap,
.timos-contact > .kt-row-column-wrap,
.timos-footer > .kt-row-column-wrap,
.timos-copyright > .kt-row-column-wrap {
  width: min(100%, var(--timos-container));
  max-width: var(--timos-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

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

.timos-hero {
  position: relative;
  min-height: 720px;
  padding: 152px 0 80px;
  display: flex;
  align-items: center;
  color: var(--timos-white);
  overflow: hidden;
  background-color: var(--timos-black-soft);
  box-shadow:
    inset 720px 0 300px rgba(0, 0, 0, 0.62),
    inset 0 0 0 100vmax rgba(0, 0, 0, 0.08);
}

.timos-hero-gradient-fixed {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.56) 26%,
      rgba(0, 0, 0, 0.30) 52%,
      rgba(0, 0, 0, 0.10) 78%,
      rgba(0, 0, 0, 0.02) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.10) 26%,
      rgba(0, 0, 0, 0.00) 52%
    ),
    url("https://www.timosdeli.fi/wp-content/uploads/2026/06/Hertta-pienet-kakut-scaled.jpeg");
  background-size: cover, cover, cover;
  background-position: center center, center center, 50% 55%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.timos-hero-gradient-fixed::before,
.timos-hero-gradient-fixed::after {
  content: none;
  display: none;
}

.timos-hero > .kt-row-column-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.timos-hero .kt-inside-inner-col {
  position: relative;
  z-index: 2;
}

.timos-hero-col {
  max-width: 520px;
  width: 520px;
  margin-left: 0;
  margin-right: auto;
}

.timos-hero-col .kt-inside-inner-col {
  text-align: left;
  align-items: flex-start;
  justify-content: center;
}

.timos-hero-title {
  max-width: 520px;
  margin: 0 0 22px;
  color: var(--timos-white);
  font-family: var(--timos-heading-font);
  font-size: clamp(3.15rem, 4.7vw, 5.05rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.42);
}

.timos-hero-title mark,
.timos-section-title mark,
.timos-retail-title mark {
  display: inline;
  background: transparent;
  color: var(--timos-yellow);
  padding: 0;
}

.timos-hero-text {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-family: var(--timos-body-font);
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 700;
  text-align: left;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.timos-script,
.timos-hero-script {
  font-family: var(--timos-script-font);
  color: var(--timos-yellow);
  font-size: 2rem;
  line-height: 1.15;
  margin: 24px 0 0;
  text-align: left;
  font-weight: 600;
}

.timos-hero-script {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.timos-button-row,
.timos-social-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.timos-button-row .wp-block-button,
.timos-social-buttons .wp-block-button,
.timos-button-row .wp-block-kadence-singlebtn,
.timos-social-buttons .wp-block-kadence-singlebtn {
  margin: 0;
}

.timos-button-row .wp-block-button__link,
.timos-social-buttons .wp-block-button__link,
.timos-button-row .kb-button,
.timos-social-buttons .kb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 8px;
  font-family: var(--timos-body-font);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.timos-btn-primary .wp-block-button__link,
.timos-btn-primary .kb-button {
  background: var(--timos-black);
  color: var(--timos-yellow);
  border: 1px solid var(--timos-black);
}

.timos-btn-primary .wp-block-button__link:hover,
.timos-btn-primary .kb-button:hover {
  background: var(--timos-yellow);
  color: var(--timos-black);
  border-color: var(--timos-yellow);
  transform: translateY(-1px);
}

.timos-btn-secondary .wp-block-button__link,
.timos-btn-secondary .kb-button {
  background: rgba(255, 255, 255, 0.92);
  color: var(--timos-black);
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.timos-btn-secondary .wp-block-button__link:hover,
.timos-btn-secondary .kb-button:hover {
  background: var(--timos-yellow);
  color: var(--timos-black);
  border-color: var(--timos-yellow);
}

.timos-btn-outline-dark .wp-block-button__link,
.timos-btn-outline-dark .kb-button {
  background: transparent;
  color: var(--timos-text);
  border: 1px solid rgba(33, 26, 19, 0.28);
}

.timos-btn-outline-dark .wp-block-button__link:hover,
.timos-btn-outline-dark .kb-button:hover {
  background: var(--timos-black);
  color: var(--timos-yellow);
  border-color: var(--timos-black);
}

/* Hero buttons: overrides Kadence button output without relying on changing uniqueIDs. */
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row {
  gap: 16px;
  margin-top: 36px;
}

body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .wp-block-kadence-singlebtn,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .wp-block-button {
  margin: 0;
}

body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .wp-block-kadence-singlebtn.timos-btn-primary a.kb-button,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .timos-btn-primary a.kb-button,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row a[href="#yhteystiedot"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #FFFFFF;
  font-family: var(--timos-body-font);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .wp-block-kadence-singlebtn.timos-btn-primary a.kb-button:hover,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .timos-btn-primary a.kb-button:hover,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row a[href="#yhteystiedot"]:hover {
  background: #F2F2F2;
  color: #000000;
  border-color: #F2F2F2;
  transform: translateY(-1px);
}

body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .wp-block-kadence-singlebtn.timos-btn-secondary a.kb-button,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .timos-btn-secondary a.kb-button,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row a[href="#tuotteet"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-family: var(--timos-body-font);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .wp-block-kadence-singlebtn.timos-btn-secondary a.kb-button:hover,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row .timos-btn-secondary a.kb-button:hover,
body:has(.timos-page) .timos-hero .timos-button-row.timos-button-row a[href="#tuotteet"]:hover {
  background: rgba(0, 0, 0, 0.78);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

/* =========================================================
   SERVICES
   ========================================================= */

.timos-services {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 203, 5, 0.14), transparent 42%),
    var(--timos-cream);
  padding: 0;
}

.timos-service-row > .kt-row-column-wrap {
  padding-top: 48px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timos-service-card {
  text-align: center;
  padding: 0;
  border-right: 0;
}

.timos-service-card .kt-inside-inner-col {
  min-height: 100%;
  align-items: stretch;
  padding: 28px 26px 30px;
  background: var(--timos-white);
  border: 1px solid var(--timos-border);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(33, 26, 19, 0.08);
}

.timos-service-icon-img,
.timos-service-icon-img figure {
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
}

.timos-service-icon-img img {
  display: block;
  width: 100%;
  max-width: none;
  height: 155px;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
}

.timos-service-icon {
  color: var(--timos-yellow);
  font-size: 2.85rem;
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 400;
}

.timos-card-title {
  font-family: var(--timos-heading-font);
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--timos-text);
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.timos-card-text {
  color: var(--timos-muted);
  font-size: 0.93rem;
  line-height: 1.72;
  margin: 0;
  font-weight: 500;
}

/* =========================================================
   SHARED TYPOGRAPHY
   ========================================================= */

.timos-section-title {
  font-family: var(--timos-heading-font);
  font-size: clamp(2.4rem, 3.7vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  color: var(--timos-text);
  font-weight: 800;
}

.timos-section-title.timos-light {
  color: var(--timos-white);
}

.timos-section-intro {
  max-width: 690px;
  color: var(--timos-muted);
  font-size: 1rem;
  line-height: 1.72;
  margin: 0 0 32px;
  font-weight: 500;
}

.timos-dark-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.76;
  max-width: 560px;
  font-weight: 500;
}

.timos-center {
  text-align: center;
}

/* =========================================================
   RETAIL / K-KAUPAT - LIGHT VERSION
   ========================================================= */

.timos-retail {
  position: relative;
  background: var(--timos-cream-2);
  color: var(--timos-text);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--timos-border);
  border-bottom: 1px solid var(--timos-border);
}

.timos-retail > .kt-row-column-wrap {
  min-height: 500px;
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 42px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.timos-retail-text {
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 2;
}

.timos-retail-text .kt-inside-inner-col {
  width: 100%;
}

.timos-retail-title,
.timos-retail .timos-section-title,
.timos-retail .timos-section-title.timos-light {
  max-width: 430px;
  color: var(--timos-text);
}

.timos-retail .timos-dark-text {
  color: var(--timos-muted);
}

.timos-check-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.timos-check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 15px;
  color: var(--timos-text);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
}

.timos-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--timos-yellow);
  border-radius: 50%;
  color: var(--timos-black);
  background: var(--timos-yellow);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.timos-retail .timos-button-row {
  margin-top: 36px;
}

.timos-retail .timos-btn-secondary .wp-block-button__link,
.timos-retail .timos-btn-secondary .kb-button {
  background: var(--timos-black);
  color: var(--timos-yellow);
  border-color: var(--timos-black);
}

.timos-retail .timos-btn-secondary .wp-block-button__link:hover,
.timos-retail .timos-btn-secondary .kb-button:hover {
  background: var(--timos-yellow);
  color: var(--timos-black);
  border-color: var(--timos-yellow);
}

.timos-retail-image {
  position: relative;
  min-height: 430px;
}

.timos-retail-image .kt-inside-inner-col,
.timos-retail-image figure {
  height: 100%;
  margin: 0;
}

.timos-img img,
.timos-img-wide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.timos-retail-image .timos-img img,
.timos-retail-image .timos-img-wide img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center center;
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(33, 26, 19, 0.16);
}

.timos-retail-image::after {
  display: none;
}

/* =========================================================
   SOCIAL
   ========================================================= */

.timos-social {
  background: var(--timos-cream);
  padding: 0;
}

.timos-social-section > .kt-row-column-wrap,
.timos-social > .kt-row-column-wrap {
  padding-top: 56px;
  padding-bottom: 56px;
}

.timos-social-head > .kt-row-column-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.timos-social-head .timos-section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.timos-social-head .timos-section-intro {
  max-width: 650px;
  margin-bottom: 0;
}

.timos-social-head-buttons .kt-inside-inner-col {
  display: flex;
  justify-content: flex-end;
}

.timos-social-buttons {
  margin-top: 0;
  justify-content: flex-end;
}

.timos-social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  max-width: none;
}

.timos-social-grid .wp-block-image,
.timos-social-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--timos-white);
  aspect-ratio: 4 / 5;
  margin: 0;
  box-shadow: 0 18px 38px rgba(33, 26, 19, 0.12);
}

.timos-social-grid img,
.timos-social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.timos-social-card:hover img {
  transform: scale(1.045);
}

.timos-social-card::after,
.timos-social-grid .wp-block-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.timos-social-card::before,
.timos-social-grid .wp-block-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 39%, var(--timos-black) 40% 42%, transparent 43%),
    rgba(255,255,255,0.88);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  pointer-events: none;
}

/* =========================================================
   QUALITY - LIGHT VERSION
   ========================================================= */

.timos-quality {
  background: var(--timos-white);
  color: var(--timos-text);
  padding: 0;
  border-top: 1px solid var(--timos-border);
  border-bottom: 1px solid var(--timos-border);
}

.timos-quality > .kt-row-column-wrap {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.timos-quality-image figure {
  margin: 0;
}

.timos-quality-image img {
  min-height: 275px;
  max-height: 330px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(33, 26, 19, 0.16);
}

.timos-quality-text .timos-section-title {
  max-width: 520px;
  margin-bottom: 24px;
}

.timos-quality .timos-section-title,
.timos-quality .timos-section-title.timos-light {
  color: var(--timos-text);
}

.timos-quality .timos-dark-text {
  max-width: 600px;
  margin-bottom: 12px;
  color: var(--timos-muted);
}

.timos-quality .timos-script {
  color: var(--timos-yellow);
  text-shadow: none;
}

/* =========================================================
   CONTACT
   ========================================================= */

.timos-contact {
  background: var(--timos-cream);
  padding: 0;
}

.timos-contact > .kt-row-column-wrap {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 44px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.timos-contact .timos-section-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.timos-contact-line {
  color: var(--timos-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 10px 0;
  font-weight: 600;
}

.timos-contact-line a {
  color: var(--timos-text);
  text-decoration: none;
  font-weight: 800;
}

.timos-contact-line a:hover {
  color: var(--timos-black);
  text-decoration: underline;
}

.timos-contact .timos-button-row {
  margin-top: 28px;
}

.timos-map-card .kt-inside-inner-col {
  min-height: 315px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--timos-cream-2);
  border: 1px solid var(--timos-border);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  color: var(--timos-muted);
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(33, 26, 19, 0.10);
}

.timos-map-img,
.timos-map-img figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.timos-map-img img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

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

.timos-footer {
  background:
    radial-gradient(circle at 15% 15%, rgba(255,203,5,0.08), transparent 28%),
    var(--timos-black);
  color: var(--timos-footer-text);
  padding: 0;
}

.timos-footer > .kt-row-column-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 70px;
  padding-top: 48px;
  padding-bottom: 48px;
  align-items: start;
}

.timos-footer-logo,
.timos-footer-logo figure {
  margin: 0 0 18px;
}

.timos-footer-logo img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.timos-footer-title {
  font-family: var(--timos-heading-font);
  font-size: 1.45rem;
  margin: 0 0 10px;
  color: var(--timos-yellow);
}

.timos-footer-text {
  color: var(--timos-footer-text);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0;
}

.timos-footer-script {
  color: var(--timos-yellow);
  font-size: 1.65rem;
  margin-top: 12px;
}

.timos-footer-heading {
  color: var(--timos-yellow);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
  font-family: var(--timos-body-font);
}

.timos-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: auto;
  column-gap: 0;
}

.timos-footer-list li {
  margin: 0 0 14px;
  break-inside: avoid;
}

.timos-footer-list a,
.timos-footer-social-links a {
  color: var(--timos-footer-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.timos-footer-list a:hover,
.timos-footer-social-links a:hover {
  color: var(--timos-yellow);
}

.timos-footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

/* =========================================================
   COPYRIGHT
   ========================================================= */

.timos-copyright {
  background: #050505;
  color: var(--timos-footer-text);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.timos-copyright > .kt-row-column-wrap {
  padding-top: 16px;
  padding-bottom: 16px;
}

.timos-copyright-text {
  font-size: 0.78rem;
  margin: 0;
  color: var(--timos-footer-text);
}

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

@media (max-width: 1180px) {
  .timos-hero-title {
    font-size: clamp(3.2rem, 5.6vw, 5.1rem);
  }
}

@media (max-width: 1024px) {
  .timos-hero {
    min-height: 650px;
    padding-top: 76px;
  }

  .timos-retail > .kt-row-column-wrap,
  .timos-quality > .kt-row-column-wrap,
  .timos-contact > .kt-row-column-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .timos-social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timos-footer > .kt-row-column-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .timos-footer-social {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .timos-hero > .kt-row-column-wrap,
  .timos-services > .kt-row-column-wrap,
  .timos-retail > .kt-row-column-wrap,
  .timos-social > .kt-row-column-wrap,
  .timos-quality > .kt-row-column-wrap,
  .timos-contact > .kt-row-column-wrap,
  .timos-footer > .kt-row-column-wrap,
  .timos-copyright > .kt-row-column-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .timos-hero {
    min-height: 650px;
    padding-top: 70px;
    padding-bottom: 64px;
    box-shadow:
      inset 420px 0 220px rgba(0, 0, 0, 0.68),
      inset 0 0 0 100vmax rgba(0, 0, 0, 0.10);
  }

  .timos-hero-gradient-fixed {
    background-image:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.76) 0%,
        rgba(0, 0, 0, 0.54) 58%,
        rgba(0, 0, 0, 0.20) 100%
      ),
      url("https://www.timosdeli.fi/wp-content/uploads/2026/06/Hertta-pienet-kakut-scaled.jpeg");
    background-size: cover, cover;
    background-position: center center, 58% center;
    background-repeat: no-repeat, no-repeat;
  }

  .timos-hero-col {
    width: 100%;
    max-width: 100%;
  }

  .timos-hero-title {
    font-size: clamp(2.2rem, 10.4vw, 3.1rem);
    line-height: 1;
    letter-spacing: -0.04em;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .timos-hero-text {
    max-width: 100%;
  }

  .timos-button-row,
  .timos-social-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .timos-button-row .wp-block-button,
  .timos-social-buttons .wp-block-button {
    width: 100%;
  }

  .timos-button-row .wp-block-button__link,
  .timos-social-buttons .wp-block-button__link,
  .timos-button-row .kb-button,
  .timos-social-buttons .kb-button {
    width: 100%;
  }

  .timos-service-row > .kt-row-column-wrap {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 16px;
  }

  .timos-service-card {
    border-right: 0;
    padding: 0;
  }

  .timos-retail > .kt-row-column-wrap,
  .timos-quality > .kt-row-column-wrap,
  .timos-contact > .kt-row-column-wrap {
    grid-template-columns: 1fr;
  }

  .timos-retail > .kt-row-column-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .timos-retail-image {
    min-height: 300px;
  }

  .timos-retail-image .timos-img img,
  .timos-retail-image .timos-img-wide img {
    min-height: 300px;
    border-radius: 14px;
  }

  .timos-social-section > .kt-row-column-wrap,
  .timos-social > .kt-row-column-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .timos-social-head > .kt-row-column-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .timos-social-head-buttons .kt-inside-inner-col,
  .timos-social-buttons {
    justify-content: flex-start;
  }

  .timos-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .timos-quality > .kt-row-column-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .timos-quality-image img {
    min-height: 260px;
  }

  .timos-contact > .kt-row-column-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .timos-map-card .kt-inside-inner-col,
  .timos-map-img img {
    min-height: 260px;
    height: 260px;
  }

  .timos-footer > .kt-row-column-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .timos-footer-list {
    columns: 1;
  }
}

/* =========================================================
   TIMO'S DELI - KADENCE HEADER SOCIAL ICONS
   Oikea rakenne:
   data-section="kadence_customizer_header_social"
   ========================================================= */

.site-header [data-section="kadence_customizer_header_social"] .header-social-wrap {
  display: flex;
  align-items: center;
}

.site-header [data-section="kadence_customizer_header_social"] .header-social-inner-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header [data-section="kadence_customizer_header_social"] .header-social-item {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--timos-black);
  background: var(--timos-yellow);
  border: 1px solid var(--timos-yellow);
  text-decoration: none;
  box-shadow: none;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.site-header [data-section="kadence_customizer_header_social"] .header-social-item .kadence-svg-iconset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.site-header [data-section="kadence_customizer_header_social"] .header-social-item svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-header [data-section="kadence_customizer_header_social"] .header-social-item:hover {
  transform: translateY(-1px);
  background: var(--timos-black);
  color: var(--timos-yellow);
  border-color: var(--timos-black);
}

.site-header [data-section="kadence_customizer_header_social"] .social-link-facebook,
.site-header [data-section="kadence_customizer_header_social"] .social-link-instagram,
.site-header [data-section="kadence_customizer_header_social"] .social-link-tiktok {
  color: var(--timos-black);
  background: var(--timos-yellow);
  border-color: var(--timos-yellow);
}

.site-header [data-section="kadence_customizer_header_social"] .social-link-facebook:hover,
.site-header [data-section="kadence_customizer_header_social"] .social-link-instagram:hover,
.site-header [data-section="kadence_customizer_header_social"] .social-link-tiktok:hover {
  color: var(--timos-yellow);
  background: var(--timos-black);
  border-color: var(--timos-black);
}

.mobile-drawer [data-section="kadence_customizer_header_social"] .header-social-inner-wrap,
.popup-drawer [data-section="kadence_customizer_header_social"] .header-social-inner-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-drawer [data-section="kadence_customizer_header_social"] .header-social-item,
.popup-drawer [data-section="kadence_customizer_header_social"] .header-social-item {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--timos-black);
  background: var(--timos-yellow);
  border: 1px solid var(--timos-yellow);
  text-decoration: none;
  line-height: 1;
}

.mobile-drawer [data-section="kadence_customizer_header_social"] .header-social-item .kadence-svg-iconset,
.popup-drawer [data-section="kadence_customizer_header_social"] .header-social-item .kadence-svg-iconset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.mobile-drawer [data-section="kadence_customizer_header_social"] .header-social-item svg,
.popup-drawer [data-section="kadence_customizer_header_social"] .header-social-item svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* =========================================================
   TIMO'S DELI - SOCIAL SECTION VIDEO
   ========================================================= */

.timos-social-head-buttons .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.timos-social-video {
  width: 100%;
  max-width: 430px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--timos-black);
  box-shadow: 0 18px 42px rgba(33, 26, 19, 0.14);
}

.timos-social-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

.timos-social-head-buttons .timos-social-buttons {
  margin-top: 0;
}

@media (max-width: 767px) {
  .timos-social-head-buttons .kt-inside-inner-col {
    align-items: stretch;
  }

  .timos-social-video {
    max-width: none;
  }
}

