/*
Theme Name: Tentrema
Description: Tentrema svetainės originalaus dizaino WordPress tema.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: tentrema
*/

@font-face { font-family: Roboto; src: url('assets/fonts/roboto-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Roboto; src: url('assets/fonts/roboto-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Roboto; src: url('assets/fonts/roboto-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Corsiva; src: url('assets/fonts/corsiva.woff') format('woff'); font-display: swap; }
@font-face { font-family: Verdana; src: url('assets/fonts/verdana.woff') format('woff'); font-display: swap; }
@font-face { font-family: FontAwesome; src: url('assets/fonts/fontawesome.woff2') format('woff2'); font-display: block; }
@font-face { font-family: Linea; src: url('assets/fonts/linea.ttf') format('truetype'); font-display: block; }

:root { color-scheme: light; font: 16px/1.5 Roboto, sans-serif; color: #fff; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background-color: #182c35;
  background-image:
    radial-gradient(ellipse 360px 150px at 50% 105px, rgba(191, 207, 190, .65), transparent),
    radial-gradient(ellipse 85% 850px at 0 0, rgba(77, 116, 128, .35), transparent 70%),
    linear-gradient(145deg, #344d57 0%, #223741 45%, #172b33 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
a { color: #475241; text-decoration: none; }
a:hover { color: #e6e6e6; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; vertical-align: middle; }
p { margin: 1.5rem 0; }
h1, h2 { font-weight: 500; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.page-surround { min-height: 100vh; overflow: hidden; }
.site-container { width: 75rem; margin-inline: auto; }
.site-masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 44px; margin-top: 24px; background: #fafbf7; border-bottom: 1px solid #e5e8e1; border-radius: 16px 16px 0 0; }
.brand { display: flex; flex-direction: column; align-items: center; flex: 0 0 150px; color: #475241; }
.brand:hover { color: #475241; }
.brand img { width: 142px; }
.brand span { margin-top: 4px; font: 16px/1.2 Corsiva, cursive; }
.masthead-nav { margin-left: auto; }
.primary-menu { display: flex; justify-content: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.primary-menu a { display: block; position: relative; padding: 12px 16px; color: #34494a; font: 400 15px/1.5 Roboto, sans-serif; }
.primary-menu a:hover { color: #64764b; }
.primary-menu .current-menu-item a::after { position: absolute; content: ''; height: 2px; bottom: 5px; left: 16px; right: 16px; background: #788760; }
.header-phone { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid #d5dccc; border-radius: 6px; color: #34494a; font-size: 14px; white-space: nowrap; }
.header-phone:hover { color: #34494a; background: #eef1e7; }
.menu-toggle { display: none; }
.site-main { background: #fff; color: #666; padding: 49px 25px; }
.page-heading { margin-bottom: 20px; text-align: center; }
.page-heading h1 { display: inline-block; position: relative; margin: 0; padding-bottom: 15px; font-size: 22px; line-height: 22px; color: #666; }
.page-heading h1::after { position: absolute; content: ''; bottom: 0; left: 0; width: 100%; height: 2px; background: #ddd; }
.su-photo-gallery { margin-bottom: 20px; }
.cbp-l-grid-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.su-photo-gallery-style-3 .cbp-l-grid-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.su-pg-item { position: relative; overflow: hidden; }
.su-pg-item > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.su-photo-gallery-links { position: absolute; inset: 0; z-index: 1; }
.su-lightbox-item { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; transition: background .25s; }
.su-lightbox-item .fa { opacity: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #ffffff50; transition: opacity .25s; }
.su-lightbox-item:hover, .su-lightbox-item:focus-visible { color: #fff; background: #0000004d; }
.su-lightbox-item:hover .fa, .su-lightbox-item:focus-visible .fa { opacity: 1; }
.su-clear { display: none; }
.fa { font: normal normal 14px/1 FontAwesome; }
.fa-search::before { content: '\f002'; }
.fa-star::before { content: '\f005'; }
.su-list ul { margin: 0 0 1.5em; padding: 0; list-style: none; }
.su-list li { position: relative; padding: 4px 0 4px 2em; line-height: 1.3; }
.su-list li .fa { position: absolute; top: 4px; left: 0; width: 1.3em; line-height: 1.3; text-align: center; color: #333; }
.span12 { display: flex; gap: 2.12766%; flex-wrap: wrap; }
.span6 { width: 48.93617%; }
.su-gmap { clear: both; }
.contact-map { display: block; width: 100%; height: 400px; border: 0; }
.contact-strip { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; padding: 52px 52px; background: #253c43; color: #d3deda; }
.contact-strip .contact-kicker { margin: 0 0 14px; color: #b8c69e; font-size: 11px; font-weight: 500; letter-spacing: 1.8px; }
.contact-strip h2 { margin: 0; font-size: 32px; line-height: 1.25; letter-spacing: -.5px; color: #fff; }
.contact-strip p { margin: 16px 0 0; max-width: 420px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; justify-self: end; }
.contact-actions a { color: #ecf0e9; }
.contact-actions a:hover { color: #c2d39e; }
.contact-actions .contact-phone { font-size: 27px; font-weight: 500; }
.contact-phone span { padding-left: 20px; color: #c2d39e; }
.contact-actions .contact-address { margin-top: 12px; font-size: 13px; color: #b6c6c3; }
.site-footer { color: #677369; }
.footer-content { display: flex; justify-content: center; padding: 20px 25px; margin-bottom: 24px; border-radius: 0 0 16px 16px; background: #fafbf7; font-size: 13px; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 16px; padding: 12px; background: #fff; color: #333; }
.skip-link:focus { top: 16px; }
.lightbox { position: fixed; width: 100vw; height: 100dvh; max-width: none; max-height: none; inset: 0; margin: 0; padding: 60px; border: 0; background: #101010f2; color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #000c; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100dvh - 150px); object-fit: contain; }
.lightbox figcaption { margin-top: 12px; overflow-wrap: anywhere; }
.lightbox button { position: absolute; border: 0; background: transparent; color: #fff; font-size: 48px; min-width: 48px; }
.lightbox-close { top: 5px; right: 15px; }
.lightbox-previous { top: calc(50% - 36px); left: 8px; }
.lightbox-next { top: calc(50% - 36px); right: 8px; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 1199px) { .site-container { width: 60rem; } }
@media (max-width: 959px) {
  .site-container { width: 48rem; }
  .cbp-l-grid-gallery, .su-photo-gallery-style-3 .cbp-l-grid-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-masthead { padding-inline: 26px; gap: 12px; }
  .primary-menu a { padding-inline: 12px; }
  .header-phone { padding: 10px; font-size: 13px; }
  .contact-strip { gap: 28px; padding: 40px 30px; }
  .contact-strip h2 { font-size: 28px; }
  .contact-actions .contact-phone { font-size: 23px; }
}
@media (max-width: 767px) {
  .site-container { width: 30rem; max-width: 100%; }
  .site-masthead { position: relative; flex-wrap: wrap; margin-top: 0; padding: 16px 22px; border-radius: 0; }
  .brand { flex-basis: 130px; }
  .brand img { width: 122px; }
  .brand span { font-size: 14px; }
  .masthead-nav { flex: 1 0 100%; order: 2; margin: 0; }
  .js .masthead-nav { flex: 0 0 auto; order: 0; margin-left: auto; }
  .header-phone { display: none; }
  .primary-menu { flex-direction: column; }
  .primary-menu a { padding: 12px 16px; font-size: 16px; }
  .js .primary-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; padding: 8px 22px 16px; border-bottom: 1px solid #dce3d7; background: #fafbf7; box-shadow: 0 12px 20px #142b3320; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d5dccc; border-radius: 6px; background: transparent; color: #34494a; padding: 8px 12px; font-size: 14px; }
  .js .primary-menu:not(.is-open) { display: none; }
  .site-main { padding: 49px 25px; }
  .contact-strip { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; }
  .contact-actions { justify-self: start; }
  .span6 { width: 100%; }
  .cbp-l-grid-gallery, .su-photo-gallery-style-3 .cbp-l-grid-gallery { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 15px; text-align: center; margin-bottom: 0; border-radius: 0; }
  .lightbox { padding: 48px; }
  .lightbox img { max-width: calc(100vw - 96px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
