/* TM Recycling Shortcodes v1.0.21 */

:where(.tm-sakums, .tm-about, .tm-services-page, .tm-benefits, .tm-contacts, .tmr-cities),
:where(.tm-sakums, .tm-about, .tm-services-page, .tm-benefits, .tm-contacts, .tmr-cities) * {
  box-sizing: border-box;
}

:where(.tm-about .intro-title, .tm-services-page > h1, .tm-benefits > header h1, .tm-contacts h1, .tmr-cities > h1) {
  position: relative;
  margin: 0 0 30px;
  padding: 0 0 18px;
  color: #111;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

:where(.tm-about .intro-title, .tm-services-page > h1, .tm-benefits > header h1, .tm-contacts h1, .tmr-cities > h1)::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: #ff671f;
  content: "";
}

:where(.tm-about h2, .tm-services-page h2, .tm-benefits h2, .tm-contacts h2, .tmr-cities h2) {
  color: #111;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

:where(.tm-about h3, .tm-services-page h3, .tm-benefits h3, .tm-contacts h3, .tmr-cities h3) {
  color: #111;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

/* Home */
.tm-sakums { --accent:#ff671f; --accent-dark:#d94d0c; --section-gap:38px; --block-gap:26px; width:100vw; max-width:none; margin-left:calc(50% - 50vw); margin-top:-10px; overflow-x:hidden; }
.tm-sakums img { display:block; width:100%; height:auto; }
.tm-sakums a { text-decoration:none; }
.tm-sakums .hero { display:grid; grid-template-columns:1fr 1fr; width:100%; }
.tm-sakums .hero__content { position:relative; display:flex; min-height:496px; align-items:center; justify-content:center; overflow:hidden; padding:60px 40px; background-image:url("https://tmrecycling.lv/wp-content/uploads/2026/04/news-detail-1.jpg"); background-position:center; background-size:cover; }
.tm-sakums .hero__content::before { position:absolute; inset:0; background:rgba(53,53,53,.72); content:""; }
.tm-sakums .hero__copy { position:relative; z-index:1; width:min(100%,650px); text-align:center; }
.tm-sakums .hero__eyebrow { margin:0 0 20px; padding:10px; color:#fff; background:var(--accent); font-size:22px; font-weight:600; line-height:1.25; }
.tm-sakums .hero__title { margin:0 0 34px; padding:0; color:#fff; font-size:clamp(31px,3.2vw,42px); font-weight:700; line-height:1.16; letter-spacing:0; }
.tm-sakums .hero__title::after { display:none; }
.tm-sakums .hero__button { display:inline-flex; min-height:52px; align-items:center; justify-content:center; gap:12px; padding:13px 24px; color:#fff; background:var(--accent); font-size:17px; font-weight:600; transition:background .2s ease,transform .2s ease; }
.tm-sakums .hero__button:hover,.tm-sakums .hero__button:focus { background:var(--accent-dark); transform:translateY(-2px); }
.tm-sakums .hero__button img { width:24px; height:24px; object-fit:contain; filter:brightness(0) invert(1); }
.tm-sakums .hero__banners { display:flex; flex-direction:column; gap:5px; }
.tm-sakums .banner { display:block; overflow:hidden; }
.tm-sakums .banner img,.tm-sakums .banner video { display:block; width:100%; height:auto; transition:transform .3s ease; }
.tm-sakums .banner:hover img,.tm-sakums .banner:focus img,.tm-sakums .banner:hover video,.tm-sakums .banner:focus video { transform:scale(1.015); }
.tm-sakums .section { width:100%; max-width:none; margin:0; padding:var(--section-gap) 40px; }
.tm-sakums .section-title { margin:0 0 var(--block-gap); color:#111; font-size:clamp(30px,4vw,48px); font-weight:900; line-height:1.12; }
.tm-sakums .section-title span { color:#ff671f; }
.tm-sakums .section-title--center { text-align:center; font-size:30px; }
.tm-sakums .about-grid { display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:stretch; }
.tm-sakums .about-copy p { margin:0 0 1.2em; }
.tm-sakums .about-actions { display:grid; gap:12px; margin-top:28px; }
.tm-sakums .text-action { display:grid; grid-template-columns:56px minmax(0,430px); align-items:center; justify-content:center; gap:16px; min-height:50px; padding:12px 18px; border:1px solid #ff671f; color:#ff671f; }
.tm-sakums .text-action img { justify-self:end; width:34px; height:34px; object-fit:contain; filter:brightness(0) saturate(100%) invert(52%) sepia(96%) saturate(2362%) hue-rotate(348deg) brightness(102%) contrast(101%); }
.tm-sakums .text-action--money { border:0; border-radius:10px; color:#000; background:#fcb900; }
.tm-sakums .text-action--money img { width:38px; height:38px; }
.tm-sakums .map-card { position:relative; height:100%; min-height:500px; overflow:hidden; background:#eee; }
.tm-sakums .tm-map { width:100%; height:100%; min-height:500px; }
.tm-sakums .map-add { position:absolute; z-index:500; top:20px; right:20px; display:grid; width:58px; height:58px; place-items:center; border:0; border-radius:50%; color:#fff; background:#e82c71; box-shadow:0 4px 12px rgba(0,0,0,.24); font-size:38px; font-weight:300; line-height:1; cursor:pointer; }
.tm-sakums .map-add:hover { background:#d12866; }
.tm-sakums .tm-map-popup { min-width:220px; color:#333; line-height:1.35; }
.tm-sakums .tm-map-popup__title { margin:0 0 8px; color:#111; font-size:17px; font-weight:800; }
.tm-sakums .tm-map-popup__row { margin:5px 0; font-size:13px; }
.tm-sakums .tm-map-popup__label { display:block; color:#e85f1f; font-weight:700; }
.tm-sakums .services { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.tm-sakums .service-card { display:flex; min-height:190px; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:28px 20px; border-radius:30px; color:#fff; background:linear-gradient(140deg,#f68d2d,#f15e25); text-align:center; transition:transform .2s ease; }
.tm-sakums .service-card:hover,.tm-sakums .service-card:focus { transform:translateY(-4px); }
.tm-sakums .service-card img { width:66px; height:66px; object-fit:contain; filter:brightness(0) invert(1); }
.tm-sakums .service-card h3 { margin:0; color:#fff; }
.tm-sakums .benefits { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.tm-sakums .benefit-card { display:flex; min-height:216px; flex-direction:column; align-items:center; justify-content:center; padding:22px 14px; border-radius:30px; background:#fff; text-align:center; }
.tm-sakums .benefit-card img { width:100px; height:100px; object-fit:contain; }
.tm-sakums .benefit-card h3 { margin:14px 0 0; color:#000; white-space:pre-line; }
.tm-sakums .partners { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--section-gap); align-items:center; margin-top:var(--section-gap); }
.tm-sakums .partners img { width:100%; max-width:260px; max-height:120px; margin:auto; object-fit:contain; }
.tm-sakums .soft-section { background:#f7f7f7; }
@media (max-width:800px) { .tm-sakums { --section-gap:32px; --block-gap:22px; } .tm-sakums .hero { grid-template-columns:1fr; } .tm-sakums .hero__content { min-height:430px; padding:48px 24px; } .tm-sakums .hero__eyebrow { font-size:18px; } .tm-sakums .hero__title { font-size:32px; } .tm-sakums .section { width:100%; padding:var(--section-gap) 15px; } .tm-sakums .about-grid { grid-template-columns:1fr; gap:26px; } .tm-sakums .map-card,.tm-sakums .tm-map { height:300px; min-height:300px; } .tm-sakums .services,.tm-sakums .benefits { grid-template-columns:repeat(2,1fr); gap:12px; } .tm-sakums .service-card { min-height:155px; border-radius:20px; } .tm-sakums .service-card img { width:48px; height:48px; } .tm-sakums .benefit-card { min-height:180px; border-radius:20px; } .tm-sakums .benefit-card img { width:80px; height:80px; } .tm-sakums .partners { gap:var(--section-gap); } }
@media (max-width:460px) { .tm-sakums .partners { grid-template-columns:1fr; } }

/* About */
.tm-about { --accent: #f26522; --accent-dark: #cf4d10; --line: #dfe4e8; --surface: #fff; padding: 0 0 64px; background: #fff; }
.tm-about a, .tm-about a:visited { color: var(--accent); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tm-about a:hover, .tm-about a:focus { color: var(--accent-dark); }
.tm-about img { display: block; max-width: 100%; height: auto; }
.tm-about p { margin: 0 0 1em; }
.tm-about .container { width: min(100% - 40px, 1140px); margin: 0 auto; }
.tm-about .container--wide { width: min(100% - 40px, 1140px); }
.tm-about .row { display: flex; align-items: stretch; background: var(--surface); }
.tm-about .column { min-width: 0; padding: 32px; }
.tm-about .intro-copy { width: 68.125%; }
.tm-about .intro-art { width: 31.741%; }
.tm-about .half { width: 50%; }
.tm-about .experience-art { width: 27.411%; }
.tm-about .experience-copy { width: 72.589%; border-left: 1px solid var(--line); }
.tm-about .spacer-10 { height: 10px; }
.tm-about .spacer-19 { height: 19px; }
.tm-about .spacer-32 { height: 32px; }
.tm-about .spacer-38 { height: 38px; }
.tm-about .spacer-50 { height: 50px; }
.tm-about .intro-art { display: flex; flex-direction: column; justify-content: center; gap: 10px; background: transparent; border-left: 1px solid var(--line); }
.tm-about .intro-art img { margin: 0 auto; border: 1px solid var(--line); }
.tm-about .intro-art .spacer-50 { display: none; }
.tm-about .mission-image { width: 100%; height: 100%; min-height: 310px; margin: 0; object-fit: cover; }
.tm-about .principles { display: grid; gap: 24px; }
.tm-about .principle { padding-left: 18px; border-left: 3px solid var(--line); }
.tm-about .principle:first-child { border-left-color: var(--accent); }
.tm-about .principle h3 { margin-bottom: 8px; }
.tm-about .principle p { margin-bottom: 0; }
.tm-about .principle ul { margin: 0; padding-left: 20px; }
.tm-about .experience-title { position: relative; padding-bottom: 16px; text-align: center; }
.tm-about .experience-title::after { position: absolute; bottom: 0; left: 50%; width: 54px; height: 3px; background: var(--accent); content: ""; transform: translateX(-50%); }
.tm-about .experience-art { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; background: transparent; }
.tm-about .experience-art img { margin: 0 auto; object-fit: contain; }
.tm-about .experience-art .quality { width: 83%; }
.tm-about .experience-art .footprint { width: 73%; height: 135px; }
.tm-about .experience-art .bmpa { width: 220px; max-width: 100%; }
.tm-about .experience-art .lasua { width: 100%; max-width: 281px; }
.tm-about .copy-block { padding-left: 18px; border-left: 3px solid var(--line); }
.tm-about .copy-block h3 { margin-bottom: 10px; }
.tm-about .copy-block p, .tm-about .copy-block li { margin-top: 0; }
.tm-about .copy-block ul { margin: 0; padding-left: 20px; }
.tm-about .copy-block--first { border-left-color: var(--accent); }
@media (max-width: 767px) { .tm-about { padding: 0 0 30px; } .tm-about .container, .tm-about .container--wide { width: min(100% - 30px, 560px); } .tm-about .row { display: block; } .tm-about .column, .tm-about .intro-copy, .tm-about .intro-art, .tm-about .half, .tm-about .experience-art, .tm-about .experience-copy { width: 100%; padding: 24px; } .tm-about .intro-art, .tm-about .experience-copy { border-left: 0; border-top: 1px solid var(--line); } .tm-about .mission-image { width: 100%; height: auto; min-height: 0; margin: 0; } .tm-about .experience-art .quality, .tm-about .experience-art .footprint { width: 100%; height: auto; } }

/* Services */
.tm-services-page { --accent:#ff671f; --accent-dark:#d94b0a; --line:#e9e4df; --white:#fff; }
.page-id-4837 .thn_post_wrap > .page-title { display:none !important; }
.tm-services-page > h1 { max-width:1440px; margin-inline:auto; padding-inline:24px; }
.tm-services-page button, .tm-services-page select { font:inherit; }
.tm-services-page .services { display:grid; grid-template-columns:minmax(240px,310px) minmax(0,1fr); gap:28px; max-width:1440px; margin:0 auto; }
.tm-services-page .services > section { min-width:0; }
.tm-services-page .service-nav { position:sticky; top:24px; align-self:start; overflow:hidden; padding:12px 0; border:0; border-radius:20px; background:transparent; }
.tm-services-page .service-nav__title { margin:4px 8px 12px; text-transform:uppercase; }
.tm-services-page .service-nav__button { display:grid; grid-template-columns:42px 1fr; gap:10px; align-items:center; width:100%; min-height:54px; margin:3px 0; padding:7px 10px; border:0; border-radius:13px; background:transparent; cursor:pointer; text-align:left; transition:background .18s ease,color .18s ease,transform .18s ease; }
.tm-services-page .service-nav__button:hover, .tm-services-page .service-nav__button.is-active { color:var(--accent-dark); background:#fff5f0; }
.tm-services-page .service-nav__button:hover { transform:translateX(2px); }
.tm-services-page .service-nav__icon { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:transparent; }
.tm-services-page .service-nav__icon img { width:23px; height:23px; object-fit:contain; filter:brightness(0) saturate(100%) invert(47%) sepia(93%) saturate(2156%) hue-rotate(348deg) brightness(104%) contrast(101%); }
.tm-services-page .service-select { display:none; width:100%; padding:14px 46px 14px 16px; border:1px solid var(--line); border-radius:13px; background:var(--white); }
.tm-services-page .service-panel { min-width:0; container-type:inline-size; background:transparent; }
.tm-services-page .service-panel[hidden] { display:none; }
.tm-services-page .service-panel__content { min-width:0; padding:8px 0 32px; white-space:normal; overflow-wrap:anywhere; }
.tm-services-page .service-panel__content > h2:first-child { max-width:850px; margin:0 0 18px; }
.tm-services-page .service-panel__content h3 { margin:42px 0 4px; }
.tm-services-page .service-panel__content a { color:var(--accent-dark); text-decoration-thickness:1px; text-underline-offset:3px; }
.tm-services-page .service-panel__content ul { margin:14px 0 4px; padding-left:1.2rem; white-space:normal; }
.tm-services-page .service-panel__content li { margin:5px 0; padding-left:5px; }
.tm-services-page .service-panel__content li::marker { color:var(--accent); }
.tm-services-page .service-panel details { min-width:0; margin:0; border:0!important; border-bottom:1px solid var(--line)!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; white-space:normal; }
.tm-services-page .service-panel details[open] { border-color:var(--line)!important; background:transparent!important; box-shadow:none!important; }
.tm-services-page .service-panel summary { display:flex!important; gap:16px; align-items:center; justify-content:space-between; padding:18px 0; cursor:pointer; list-style:none!important; }
.tm-services-page .service-panel summary::-webkit-details-marker { display:none; }
.tm-services-page .service-panel summary::marker { display:none; content:""; }
.tm-services-page .service-panel summary::before { display:none!important; content:none!important; }
.tm-services-page .service-panel summary::after { display:grid; flex:0 0 28px; place-items:center; width:28px; height:28px; border-radius:50%; color:var(--accent-dark); background:#fff2eb; content:"+"; }
.tm-services-page .service-panel details[open] summary::after { content:"−"; }
.tm-services-page .accordion-content { min-width:0; padding:0 0 22px; white-space:pre-line; overflow-wrap:anywhere; }
.tm-services-page .accordion-content p { margin:0 0 14px; }
@media (max-width:900px) { .tm-services-page .services { display:block; } .tm-services-page .service-nav { position:static; margin-bottom:18px; } .tm-services-page .service-nav__title, .tm-services-page .service-nav__button { display:none; } .tm-services-page .service-select { display:block; } }
@media (max-width:620px) { .tm-services-page > h1, .tm-services-page .services { padding-inline:14px; } .tm-services-page > h1::after { left:14px; } .tm-services-page .service-nav { border-radius:17px; } .tm-services-page .service-panel__content { padding:4px 0 24px; } .tm-services-page .service-panel summary { padding:16px 0; } .tm-services-page .accordion-content { padding:0 0 18px; } }

/* Benefits */
.tm-benefits { --accent: #f26522; --track: #f5e8e1; width: 100%; background: #fff; }
.tm-benefits .content p { margin: 0 0 1.25em; }
.tm-benefits .content h2 { margin-top: 1.5em; }
.tm-benefits .metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 42px; margin-top: 46px; }
.tm-benefits .metric__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.tm-benefits .metric__percent { color: var(--accent); }
.tm-benefits .metric__track { overflow: hidden; height: 10px; background: var(--track); }
.tm-benefits .metric__fill { width: var(--value); height: 100%; background: var(--accent); }
@media (max-width: 900px) { .tm-benefits { padding: 60px 50px; } }
@media (max-width: 620px) { .tm-benefits { padding: 34px 20px 44px; } .tm-benefits .metrics { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; } }

/* Contacts */
.tm-contacts { --accent-dark: #d94d0c; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); gap: 42px; width: min(100% - 40px, 1180px); margin: 0 auto; padding: 36px 0 70px; }
.tm-contacts a { color: var(--accent-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tm-contacts__label { margin: 0 0 10px; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.tm-contacts__cards { display: grid; gap: 28px; }
.tm-contacts__card, .tm-contacts__form, .tm-contacts .wpcf7, .tm-contacts .wpcf7 form { padding: 0 !important; border: 0 !important; border-radius: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; }
.tm-contacts__card h2 { margin: 0 0 16px; color: #111; font-size: 22px; }
.tm-contacts__card p { margin: 0 0 12px; }
.tm-contacts__card p:last-child { margin-bottom: 0; }
.tm-contacts__form input, .tm-contacts__form textarea, .tm-contacts__form select { width: 100%; max-width: 100%; border: 1px solid #e9e4df !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
.tm-contacts__form input[type="submit"], .tm-contacts__form button[type="submit"] { width: auto; padding: 12px 28px !important; border: 0 !important; border-radius: 0 !important; background: #ff671f !important; color: #fff !important; font-weight: 800; cursor: pointer; box-shadow: none !important; }
@media (max-width: 900px) { .tm-contacts { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 620px) { .tm-contacts { width: min(100% - 28px, 560px); padding: 22px 0 44px; } }

/* Cities */
.tmr-cities { color: #333; }
.tmr-cities .cities-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tmr-cities .cities-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; }
.tmr-cities .cities-table thead tr, .tmr-cities .cities-table thead th { background: #e07b2a !important; }
.tmr-cities .cities-table thead th { padding: 14px 18px; text-align: left; font-size: 15px; font-weight: 700; color: #fff !important; }
.tmr-cities .cities-table tbody tr { border-bottom: 1px solid #e8e8e8; cursor: pointer; transition: background 0.15s; }
.tmr-cities .cities-table tbody tr:hover, .tmr-cities .cities-table tbody tr:focus { background: #fff7f2; outline: none; }
.tmr-cities .cities-table td { padding: 14px 18px; font-size: 15px; vertical-align: middle; color: #333; }
.tmr-cities .cities-table td:first-child { font-weight: 700; color: #e07b2a !important; white-space: nowrap; }
.tmr-cities .city-icon, .tmr-cities .city-detail-icon { object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; }
.tmr-cities .city-icon { display: inline-block; width: 32px; height: 32px; margin-right: 8px; vertical-align: middle; }
.tmr-cities .city-detail-icon { width: 38px; height: 38px; }
.tmr-cities .city-price-btn { display: inline-block; padding: 6px 14px; border: 1px solid #e07b2a; border-radius: 20px; color: #e07b2a; font-size: 13px; font-weight: 600; line-height: 1.3; background: transparent; white-space: nowrap; cursor: pointer; }
.tmr-cities .city-detail { display: none; background: #fff; border-radius: 12px; padding: 30px; margin: 10px 0 30px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
.tmr-cities .city-detail.active { display: block; }
.tmr-cities .city-detail:focus { outline: none; }
.tmr-cities .city-detail-header { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #e8e8e8; }
.tmr-cities .city-detail-header h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.tmr-cities .city-detail-header .back-link { display: inline-block; margin-bottom: 16px; color: #e07b2a; font-size: 14px; font-weight: 600; text-decoration: none; }
.tmr-cities .city-detail-header .back-link:hover { text-decoration: underline; }
.tmr-cities .city-detail-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; color: #444; font-size: 15px; }
.tmr-cities .city-detail-info p { margin: 0; line-height: 1.6; }
.tmr-cities .city-map-link { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid #e07b2a; border-radius: 20px; color: #e07b2a; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.tmr-cities .city-map-link:hover { background: #e07b2a; color: #fff; }
.tmr-cities .city-map-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.tmr-cities .city-prices { margin-top: 24px; }
.tmr-cities .city-prices-title { margin-bottom: 14px; color: #111; font-size: 22px; font-weight: 800; }
.tmr-cities .city-price-tabs { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; border-bottom: 3px solid #e07b2a; }
.tmr-cities .city-price-tabs button { padding: 8px 0 12px; border: none; color: #555; font-size: 16px; font-weight: 600; background: none; cursor: pointer; }
.tmr-cities .city-price-tabs button.active { color: #e07b2a; }
.tmr-cities .city-price-tabs .sep { padding-bottom: 12px; color: #bbb; }
.tmr-cities .city-price-table { display: none; }
.tmr-cities .city-price-table.active { display: block; }
.tmr-cities .tmr-table-loading { padding: 22px 0; color: #555; font-size: 15px; font-weight: 600; }
.tmr-cities .tmr-table-loading--error { color: #c0392b; }

/* wpDataTables */
.tmr-cities .wpdt-c table,
.tmr-cities table.wpDataTable,
.tmr-cities table.dataTable,
.tmr-cities .wpDataTables table,
.tmr-cities .wpdt-c table th,
.tmr-cities .wpdt-c table td,
.tmr-cities .wpDataTable th,
.tmr-cities .wpDataTable td,
.tmr-cities .wpDataTables th,
.tmr-cities .wpDataTables td {
  font-family: "Roboto", Arial, sans-serif !important;
}

.tmr-cities .wpdt-c table th,
.tmr-cities .wpDataTable th,
.tmr-cities .wpDataTables th,
.tmr-cities table.dataTable th {
  font-weight: 900 !important;
}

.tmr-cities .wpdt-c table td,
.tmr-cities .wpDataTable td,
.tmr-cities .wpDataTables td,
.tmr-cities table.dataTable td {
  font-weight: 400 !important;
}

.tmr-cities .wpDataTable td strong,
.tmr-cities .wpDataTables td strong,
.tmr-cities table.dataTable td strong {
  font-weight: 900 !important;
}

.tmr-cities .dataTables_filter,
.tmr-cities .dataTables_length {
  display: none !important;
}

.tmr-cities .city-price-tabs button,
.tmr-cities .city-price-tabs button:focus,
.tmr-cities .city-price-tabs button:focus-visible,
.tmr-cities .city-price-tabs button:active {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.tmr-cities .wpdt-c .wpDataTablesWrapper,
.tmr-cities .wpDataTablesWrapper,
.tmr-cities .dataTables_wrapper,
.tmr-cities .wpdt-c table.wpDataTable,
.tmr-cities .wpdt-c table.dataTable,
.tmr-cities table.wpDataTable,
.tmr-cities table.dataTable {
  border: 0 !important;
  border-collapse: collapse !important;
  outline: none !important;
  box-shadow: none !important;
}

.tmr-cities .wpdt-c .wpDataTablesWrapper table.wpDataTable > thead > tr > th,
.tmr-cities .wpdt-c .wpDataTablesWrapper table.wpDataTable > thead > tr > th.wdtheader,
.tmr-cities .wpdt-c table.wpDataTable > thead > tr > th,
.tmr-cities table.wpDataTable > thead > tr > th,
.tmr-cities table.dataTable > thead > tr > th {
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  outline: 0 !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}

.tmr-cities .wpdt-c table.wpDataTable thead th,
.tmr-cities table.wpDataTable thead th,
.tmr-cities table.dataTable thead th {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
}

.tmr-cities .wpdt-c table.wpDataTable thead th::before,
.tmr-cities .wpdt-c table.wpDataTable thead th::after,
.tmr-cities .wpdt-c table.wpDataTable thead tr::before,
.tmr-cities .wpdt-c table.wpDataTable thead tr::after,
.tmr-cities table.wpDataTable thead th::before,
.tmr-cities table.wpDataTable thead th::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tmr-cities .wpdt-c table.wpDataTable th + th,
.tmr-cities .wpdt-c table.wpDataTable td + td,
.tmr-cities table.wpDataTable th + th,
.tmr-cities table.wpDataTable td + td,
.tmr-cities table.dataTable th + th,
.tmr-cities table.dataTable td + td {
  border-left: 0 !important;
}

.tmr-cities .wpdt-c table.wpDataTable th,
.tmr-cities .wpdt-c table.wpDataTable td,
.tmr-cities .wpdt-c table.dataTable th,
.tmr-cities .wpdt-c table.dataTable td,
.tmr-cities table.wpDataTable th,
.tmr-cities table.wpDataTable td,
.tmr-cities table.dataTable th,
.tmr-cities table.dataTable td {
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.tmr-cities .wpdt-c table.wpDataTable tbody tr,
.tmr-cities .wpdt-c table.dataTable tbody tr,
.tmr-cities table.wpDataTable tbody tr,
.tmr-cities table.dataTable tbody tr {
  border-bottom: 1px solid #bdbdbd !important;
}

.tmr-cities li.column-apraksts {
  list-style: none !important;
}

.tmr-cities li.column-apraksts .columnTitle {
  display: none !important;
}

@media (max-width: 767px) { .tmr-cities .cities-wrapper { overflow-x: visible; } .tmr-cities .cities-table, .tmr-cities .cities-table thead, .tmr-cities .cities-table tbody, .tmr-cities .cities-table th, .tmr-cities .cities-table td, .tmr-cities .cities-table tr { display: block; } .tmr-cities .cities-table thead { display: none; } .tmr-cities .cities-table tbody tr { margin-bottom: 0; padding: 16px 0; border: none; border-bottom: 1px solid #e8e8e8; background: #fff; } .tmr-cities .cities-table tbody tr:hover, .tmr-cities .cities-table tbody tr:focus { background: #fff7f2; } .tmr-cities .cities-table td { padding: 2px 16px; border: none; font-size: 15px; white-space: normal; } .tmr-cities .cities-table td:first-child { padding-top: 16px; color: #e07b2a !important; font-size: 20px; font-weight: 700; white-space: normal; } .tmr-cities .cities-table td:first-child::before { display: none; content: ""; } .tmr-cities .cities-table td:nth-child(2)::before, .tmr-cities .cities-table td:nth-child(3)::before { display: block; margin-bottom: 2px; color: #111; font-size: 13px; font-weight: 700; } .tmr-cities .cities-table td:nth-child(2)::before { content: "Adrese"; } .tmr-cities .cities-table td:nth-child(3)::before { content: "Kontaktinformācija"; } .tmr-cities .cities-table td:nth-child(4)::before { display: none; } .tmr-cities .cities-table td:nth-child(4) { padding: 8px 16px 16px; } .tmr-cities .city-price-btn { margin: 0; } .tmr-cities .city-detail { padding: 16px; } .tmr-cities .city-detail-header h2 { font-size: 20px; } .tmr-cities .city-detail-info { gap: 8px 16px; } }

/* Elementor-free inner pages: 1200px layout. Home stays full-width unchanged. */
body:not(.home):not(.front-page) .thn_post_wrap > .page-title {
  display: none !important;
}

body:not(.home):not(.front-page) #content > .center,
body:not(.home):not(.front-page) .single_wrap,
body:not(.home):not(.front-page) .single_post,
body:not(.home):not(.front-page) .single_post_content,
body:not(.home):not(.front-page) .thn_post_wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.home):not(.front-page) #content {
  padding-top: 0 !important;
}

:where(.tm-about, .tm-services-page, .tm-benefits, .tm-contacts, .tmr-cities) {
  width: min(100% - 40px, 1200px) !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: left !important;
}

.tm-about,
.tm-services-page,
.tm-benefits,
.tm-contacts,
.tmr-cities {
  width: min(100% - 40px, 1200px) !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-top: 64px !important;
  padding-bottom: 70px !important;
}

:where(.tm-about .container, .tm-about .container--wide, .tm-services-page > h1, .tm-services-page .services, .tm-contacts, .tmr-cities .cities-wrapper, .tmr-cities .city-detail) {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

:where(.tm-about .column, .tm-services-page > h1, .tm-services-page .services) {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.tm-about .experience-title {
  text-align: left;
}

.tm-about .experience-title::after {
  left: 0;
  transform: none;
}

body:not(.home):not(.front-page) .footer_wrap,
body:not(.home):not(.front-page) .footer_wrap #footer,
body:not(.home):not(.front-page) #footer,
body:not(.home):not(.front-page) .tm-footer-replacement-wrap,
body:not(.home):not(.front-page) .tm-footer-replacement-wrap #footer {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  background-color: #111 !important;
}

body:not(.home):not(.front-page) .footer_wrap #footer > .center,
body:not(.home):not(.front-page) #footer > .center,
body:not(.home):not(.front-page) .tm-footer-replacement-wrap #footer > .center {
  width: min(100% - 40px, 1200px) !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body:not(.home):not(.front-page) :where(
  .site-footer,
  footer,
  #footer,
  .footer,
  .footer_wrap,
  .footer-wrapper
) {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body:not(.home):not(.front-page) :where(
  .site-footer,
  footer,
  #footer,
  .footer,
  .footer_wrap,
  .footer-wrapper
) {
  background-color: #111 !important;
}

body:not(.home):not(.front-page) :where(
  .site-footer .container,
  .site-footer .wrap,
  .site-footer .inner,
  footer .container,
  footer .wrap,
  footer .inner,
  #footer .center,
  #footer .container,
  .footer .center,
  .footer .container,
  .footer_inner,
  .footer-inner
) {
  width: min(100% - 40px, 1200px) !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 620px) {
  :where(.tm-about, .tm-services-page, .tm-benefits, .tm-contacts, .tmr-cities),
  body:not(.home):not(.front-page) :where(
    .site-footer .container,
    .site-footer .wrap,
    .site-footer .inner,
    footer .container,
    footer .wrap,
    footer .inner,
    #footer .center,
    #footer .container,
    .footer .center,
    .footer .container,
    .footer_inner,
    .footer-inner
  ) {
    width: min(100% - 28px, 1200px) !important;
  }
}
