@charset "utf-8";
/* ==========================================================================
   Sharenerg - single stylesheet
   Recreates the 2016-2018 "sharenerg" WordPress theme (SkyBlue skin):
   boxed 1020px white page on an azure background, 940px inner grid,
   Arial 12px/20px body, sky-blue accent (#39C2F0), grey sub-menu,
   heading rules with a short accent bar, dark caption slider and a
   near-black copyright bar.
   ========================================================================== */

:root {
  --accent: #39c2f0;
  --accent-dark: #1f9fcb;
  --teal: #63b1be;
  --page-bg: #f0ffff;
  --text: #777777;
  --heading: #373737;
  --mid: #5f5f5f;
  --rule: #e4e4e4;
  --soft: #f8f8f8;
  --soft-border: #ededed;
  --dark: #222222;
  --footer-top: #3f3f3f;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font: 13px/22px Arial, Helvetica, sans-serif;
  color: var(--text);
  background-color: var(--page-bg);
}

::selection { background-color: var(--accent); color: #fff; }

a { color: var(--accent); text-decoration: none; transition: color .4s; }
a:hover { color: var(--heading); }

img { max-width: 100%; height: auto; display: block; border: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1.25;
  margin: 0 0 15px;
}
h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 15px; }
h1 a, h2 a, h3 a, h4 a { color: inherit; transition: color .4s; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { color: var(--accent); }

p { margin: 0 0 15px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { left: 10px; }

/* ---------- Boxed page ---------- */
.body-wrapper {
  position: relative;
  width: 1020px;
  max-width: 100%;
  margin: 50px auto;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.container { width: 940px; max-width: 100%; margin: 0 auto; }

/* ---------- Header (top strip) ---------- */
.header-up {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 110px;
  padding: 0 10px;
}
.logo { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; color: var(--heading); }
.logo:hover { color: var(--heading); }
.logo svg { width: 46px; height: 46px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 30px; font-weight: bold; letter-spacing: 1px; color: var(--heading); }
.logo-name span { color: var(--accent); }
.logo-tag { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: #9a9a9a; margin-top: 6px; }

.top-information { text-align: right; margin: 10px 0; display: flex; align-items: center; gap: 12px; }
.top-information .email { display: inline-flex; align-items: center; gap: 6px; color: var(--mid); }
.top-information .email svg { width: 14px; height: 14px; fill: var(--accent); }
.social-icon {
  display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center;
  background: #a0a0a0; border-radius: 3px; transition: background .4s;
}
.social-icon:hover { background: var(--accent); }
.social-icon svg { width: 14px; height: 14px; fill: #fff; }

/* ---------- Main navigation ---------- */
.menu-wrap { border-top: 1px solid var(--rule); position: relative; z-index: 50; }
.menu-wrapper { display: flex; justify-content: space-between; align-items: center; height: 55px; position: relative; }
.nav-toggle { display: none; }
.nav-check { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sf-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.sf-menu li { position: relative; }
.sf-menu > li > a {
  display: block;
  height: 55px;
  padding: 10px 18px 0;
  margin-top: -1px;
  line-height: 32px;
  border-top: 2px solid transparent;
  font-size: 14px;
  color: var(--mid);
  transition: all .4s;
}
.sf-menu > li > a:hover,
.sf-menu > li:hover > a,
.sf-menu > li.current > a { border-color: var(--accent); color: var(--accent); }
.sf-menu .sub-menu {
  list-style: none;
  position: absolute; top: 55px; left: 0;
  width: 220px; margin: 0; padding: 15px 0;
  background: #f0f0f0; border-bottom: 3px solid var(--accent);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .25s;
}
.sf-menu li:hover > .sub-menu,
.sf-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sf-menu .sub-menu a { display: block; margin: 0 5px; padding: 5px 10px; font-size: 12px; line-height: 20px; color: var(--mid); }
.sf-menu .sub-menu a:hover { background: var(--accent); color: #fff; }

.search-top { display: flex; align-items: center; margin-right: 5px; }
.search-top input[type="search"] {
  width: 160px; height: 26px; padding: 3px 8px;
  font: 12px Arial, sans-serif; color: #323232;
  background: var(--soft); border: 1px solid #fff;
  box-shadow: 0 0 5px #cecece inset;
}
.search-top button {
  width: 32px; height: 28px; border: 0; background: transparent; cursor: pointer; padding: 0;
}
.search-top button svg { width: 16px; height: 16px; fill: var(--mid); }

/* ---------- Slider (CSS-only crossfade) ---------- */
.slider { position: relative; height: 380px; overflow: hidden; background: #1c2a33; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: slideFade 24s infinite;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
@keyframes slideFade {
  0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { animation: none; }
  .slide:first-child { opacity: 1; }
}
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,45,.05) 40%, rgba(10,30,45,.45));
}
.slider-text { position: absolute; left: 0; bottom: 0; width: 100%; }
.slider-text h2 {
  display: inline-block; margin: 0; padding: 10px 14px;
  font-size: 18px; color: #fff; background: var(--accent);
}
.slider-text h2 a { color: #fff; }
.slider-text p {
  margin: 0; padding: 10px 50px 10px 14px;
  font-size: 14px; line-height: 20px; color: #d9d9d9;
  background: rgba(34,34,34,.9); border-top: 5px solid var(--accent);
}

/* ---------- Main area ---------- */
#main { padding: 40px 10px 10px; background: #fff; }
.layout { display: grid; grid-template-columns: 620px 300px; gap: 20px; }
.layout.full { grid-template-columns: 1fr; }

/* Heading with rule and accent bar (theme's .h-wrapper) */
.h-wrapper {
  position: relative; overflow: hidden; margin-bottom: 20px;
  background: linear-gradient(var(--rule), var(--rule)) 0 50% / 100% 1px no-repeat;
}
.h-wrapper > * {
  position: relative; display: inline-block; margin: 0;
  padding-right: 10px; background: #fff; font-size: 18px;
}
.h-wrapper > *::after {
  content: ""; position: absolute; top: 50%; right: -30px;
  width: 30px; height: 4px; margin-top: -2px; background: var(--accent);
}
.h-wrapper.h1 { margin-bottom: 30px; }
.h-wrapper.h1 > * { font-size: 26px; line-height: 1.2; }

.section { margin-bottom: 40px; }
.dark-color { color: var(--mid); }
.lead { font-size: 14px; color: var(--mid); }

/* Buttons */
.normal-button, .btn {
  display: inline-block; padding: 7px 16px;
  font-size: 12px; color: #fff; background: var(--accent);
  border: 0; transition: background .4s;
}
.normal-button:hover, .btn:hover { background: var(--heading); color: #fff; }
.btn.reverse { background: var(--heading); }
.btn.reverse:hover { background: var(--accent); }

/* Services / portfolio cards (theme's .portfolio-item-wrapper.default) */
.portfolio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.portfolio-item { display: flex; flex-direction: column; }
.portfolio-item .thumb {
  position: relative; height: 180px; overflow: hidden;
  background: var(--teal) center / cover no-repeat;
}
.portfolio-item .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(57,194,240,.0); transition: background .4s;
}
.portfolio-item:hover .thumb::after { background: rgba(57,194,240,.35); }
.portfolio-item .thumb .icon {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(34,34,34,.85); border-top: 3px solid var(--accent);
}
.portfolio-item .thumb .icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; }
.portfolio-item-context {
  flex: 1; margin-top: 1px; padding: 10px 14px 18px; text-align: center;
  background: var(--soft); border: 1px solid var(--soft-border); border-top: 0;
  color: #686868; transition: all .4s;
}
.portfolio-item-context h3 { font-size: 15px; line-height: 30px; margin: 0; color: var(--mid); }
.portfolio-item-context p { margin: 0; font-size: 12px; line-height: 19px; }
.portfolio-item-context .cat { font-size: 11px; color: #b0b0b0; }
.portfolio-item:hover .portfolio-item-context { background: var(--accent); border-color: var(--accent); color: #fff; }
.portfolio-item:hover .portfolio-item-context h3,
.portfolio-item:hover .portfolio-item-context .cat { color: #fff; }

/* Latest articles side list (theme's "Last News" shortcode) */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { display: flex; gap: 10px; margin-bottom: 22px; }
.post-list .thumb {
  flex: 0 0 90px; height: 70px; background: var(--teal) center / cover no-repeat; display: block;
}
.post-list .tilte { flex: 1; }
.post-list h3 {
  font-size: 14px; line-height: 19px; margin: 0;
  border-top: 5px solid var(--mid); padding-top: 7px;
}
.post-list .date { font-size: 11px; color: #a0a0a0; }
.post-list li:hover h3 { border-color: var(--accent); }

.sidebar .widget { margin-bottom: 35px; }
.sidebar .widget ul.links { list-style: none; padding: 0; margin: 0; }
.sidebar .widget ul.links li {
  padding: 8px 0 8px 18px; border-bottom: 1px dotted #cecece; position: relative;
}
.sidebar .widget ul.links li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 6px; height: 6px; background: var(--accent);
}
.sidebar .widget ul.links a { color: var(--text); }
.sidebar .widget ul.links a:hover { color: var(--accent); }
.cta-box { background: var(--soft); border: 1px solid var(--soft-border); border-top: 4px solid var(--accent); padding: 18px; }
.cta-box h4 { margin-bottom: 8px; }

/* ---------- Article list (theme's .posts.halfstyle) ---------- */
.post-item-wrapper { list-style: none; margin: 0; padding: 0; }
.posts.halfstyle { display: flex; gap: 20px; margin-bottom: 50px; }
.featured-thumbnail-wrapper { position: relative; flex: 0 0 360px; display: flex; }
.date-wrap {
  flex: 0 0 50px; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding-bottom: 10px; color: #fff; background: var(--accent); text-align: center;
  font-size: 12px; line-height: 18px;
}
.date-wrap::before {
  content: ""; position: absolute; top: 0; left: 0;
  border-style: solid; border-width: 20px; border-color: #fff transparent transparent #fff;
  border-width: 0 20px 20px 0; border-color: #fff transparent transparent transparent;
}
.date-wrap .d { font-size: 32px; font-weight: bold; line-height: 36px; }
.featured-thumbnail { flex: 1; min-height: 220px; background: var(--teal) center / cover no-repeat; display: block; }
.posts.halfstyle .body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.posts.halfstyle h2 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
.posts.halfstyle .excerpt { flex: 1; color: var(--text); }
.post-info-wrapper { display: flex; align-items: stretch; margin-top: 10px; }
.post-icon {
  flex: 0 0 34px; height: 34px; background: var(--heading);
  display: flex; align-items: center; justify-content: center;
}
.post-icon svg { width: 16px; height: 16px; fill: #fff; }
.post-info {
  flex: 1; display: flex; justify-content: space-between; align-items: center;
  min-height: 34px; padding: 0 0 0 10px; font-size: 11px; color: var(--heading);
  border-top: 1px dotted #cecece; border-bottom: 1px dotted #cecece;
}
.post-info .posts-link a { color: var(--accent); font-weight: bold; padding-right: 4px; }
.post-info .posts-link a:hover { color: var(--heading); }
.posts.soon .featured-thumbnail { filter: grayscale(.6); opacity: .8; }
.badge { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; background: var(--mid); color: #fff; padding: 1px 7px; margin-bottom: 8px; }
.badge.cat { background: var(--accent); }

/* ---------- Single post ---------- */
.single-post h1 { font-size: 28px; line-height: 1.25; margin-bottom: 18px; }
.single-hero { display: flex; margin-bottom: 0; }
.single-hero .date-wrap { padding-bottom: 14px; }
.single-hero .featured-thumbnail { min-height: 300px; }
.single-post .post-info-wrapper { margin: 0 0 25px; }
.post-content { font-size: 14px; line-height: 24px; color: #5a5a5a; }
.post-content h2 { font-size: 20px; margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.post-content h3 { font-size: 16px; margin: 22px 0 10px; }
.post-content ul, .post-content ol { padding-left: 22px; margin: 0 0 15px; }
.post-content li { margin-bottom: 6px; }
.post-content blockquote {
  margin: 20px 0; padding: 15px 20px;
  font-family: 'Philosopher', Georgia, serif; font-style: italic; font-size: 16px; color: var(--mid);
  background: #eef9fd; border-left: 5px solid var(--heading);
}
.post-content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 13px; }
.post-content th { background: var(--accent); color: #fff; text-align: left; padding: 8px 10px; }
.post-content td { padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.post-content tr:nth-child(even) td { background: var(--soft); }
.author-box { display: flex; gap: 15px; margin-top: 30px; padding: 18px; background: var(--soft); border: 1px solid var(--soft-border); }
.author-box .avatar { flex: 0 0 60px; height: 60px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 20px; }
.author-box h4 { margin: 0 0 4px; }
.author-box p { margin: 0; font-size: 12px; }
.older-newer { display: flex; justify-content: space-between; gap: 15px; margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--rule); font-size: 12px; }
.older-newer a { color: var(--mid); }
.older-newer a:hover { color: var(--accent); }
.disclosure { font-size: 11px; color: #999; border-top: 1px dotted #cecece; margin-top: 25px; padding-top: 10px; }
.placeholder { background: #fff6cc; outline: 1px dashed #d6b300; padding: 0 3px; }

/* Breadcrumb */
.breadcrumb { font-size: 11px; color: #a0a0a0; margin: -15px 0 20px; }
.breadcrumb a { color: #a0a0a0; }
.breadcrumb a:hover { color: var(--accent); }

/* Content pages */
.page-content { font-size: 14px; line-height: 24px; color: #5a5a5a; }
.page-content h2 { font-size: 19px; margin: 28px 0 12px; }
.page-content ul { padding-left: 22px; }
.page-content li { margin-bottom: 6px; }
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.message-box { padding: 14px 18px; margin: 0 0 20px; background: #eef9fd; border-left: 4px solid var(--accent); color: var(--mid); }
.message-box.warn { background: #fdf1f0; border-color: #d9534f; }
.contact-card { background: var(--soft); border: 1px solid var(--soft-border); padding: 25px; text-align: center; margin-bottom: 25px; }
.contact-card .big { font-size: 22px; font-weight: bold; color: var(--heading); display: block; margin: 8px 0 14px; word-break: break-all; }

/* ---------- Footer ---------- */
#footer-wrapper { color: #bbbbbb; }
.footer-top { background: var(--footer-top); padding: 35px 10px 15px; }
.footer-top .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-top h4 { color: #fff; font-size: 14px; margin-bottom: 15px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { padding: 6px 0; border-bottom: 1px dashed #5f5f5f; }
.footer-top a { color: #dddddd; }
.footer-top a:hover { color: var(--accent); }
.footer-top p { font-size: 12px; line-height: 20px; }
.footer-bot { background: var(--dark); padding: 15px 10px; font-size: 12px; }
.footer-bot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; line-height: 26px; }
.footer-bot a { color: inherit; }
.footer-bot a:hover { color: var(--accent); }
.footer-bot .menu-footer a { margin-left: 14px; }
.footer-bot .note { width: 100%; font-size: 11px; color: #8a8a8a; line-height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .body-wrapper { margin: 0 auto; box-shadow: none; }
  .container { padding: 0 15px; }
  .layout { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .featured-thumbnail-wrapper { flex-basis: 300px; }
  .search-top { display: none; }
  .sf-menu > li > a { padding: 10px 12px 0; }
}
@media (max-width: 700px) {
  body { font-size: 14px; }
  #main { padding: 25px 0 10px; }
  .header-up { flex-direction: column; min-height: 0; padding: 18px 15px 12px; }
  .logo { margin-top: 0; }
  .logo-name { font-size: 26px; }
  .top-information { margin: 10px 0 0; text-align: left; }
  .menu-wrapper { height: auto; display: block; padding: 0; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 12px 15px; font-size: 14px; color: var(--mid); cursor: pointer; list-style: none;
    border-top: 2px solid var(--accent);
  }
  .nav-toggle svg { width: 18px; height: 18px; fill: var(--mid); }
  .nav-check:not(:checked) ~ nav .sf-menu { display: none; }
  .nav-check:focus-visible + .nav-toggle { outline: 2px solid var(--accent); }
  .sf-menu { flex-direction: column; background: #f7f7f7; }
  .sf-menu > li > a { height: auto; line-height: 22px; padding: 10px 15px; border-top: 1px solid var(--rule); margin: 0; }
  .sf-menu > li.current > a { border-top-color: var(--rule); border-left: 3px solid var(--accent); }
  .sf-menu .sub-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; padding: 0 0 8px 15px; background: transparent; border: 0; }
  .slider { height: 300px; }
  .slider-text h2 { font-size: 15px; }
  .slider-text p { font-size: 12px; padding-right: 14px; }
  .portfolio { grid-template-columns: 1fr; }
  .posts.halfstyle { flex-direction: column; gap: 14px; }
  .featured-thumbnail-wrapper { flex-basis: auto; }
  .featured-thumbnail { min-height: 190px; }
  .single-hero .featured-thumbnail { min-height: 200px; }
  .single-post h1 { font-size: 23px; }
  .h-wrapper.h1 > * { font-size: 22px; }
  .two-col-list { grid-template-columns: 1fr; }
  .footer-top .cols { grid-template-columns: 1fr; }
  .footer-bot .container { flex-direction: column; }
  .footer-bot .menu-footer a { margin: 0 14px 0 0; }
  .older-newer { flex-direction: column; }
}
