/*
Theme Name: advik-2
Theme URI: https://www.adviksoft.com/blog/
Author: Advik Software
Author URI: https://www.adviksoft.com/
Description: Official blog theme for Advik Software.
Version: 2.0
*/

a,a:hover{color:#0e6697}.size-post-thumbnail,img{max-width:100%;height:auto}.breadcrumb-item+.breadcrumb-item::before,.site-header .bg-light{padding-left:0;padding-right:0}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;font-display:swap;src:local('Open Sans Light'),local('OpenSans-Light'),url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:local('Open Sans'),local('OpenSans'),url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:local('Open Sans Semibold'),local('OpenSans-Semibold'),url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSugdm0LZdjqr5-oayXSOefg.woff2) format('woff2')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{font-family:inherit;font-weight:400}a:hover{text-decoration:none}.bg-info{background-color:#1e90ff!important}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link:hover{background-color:gold;color:#333!important}.breadcrumb{padding:0;margin-bottom:0;background-color:transparent}.breadcrumb a{margin:0 5px}.site-footer ul,.top-bar ul{margin:0;padding:0;list-style:none;-webkit-box-align:center}.size-post-thumbnail{margin-bottom:20px}blockquote{margin:0 0 1rem;border-left:3px solid #000;padding-left:20px;background-color:#f0f8ff}.video-container{overflow:hidden;position:relative;width:100%}.video-container::after{padding-top:56.25%;display:block;content:''}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}.site-footer{background:#036;color:#fff;text-align:center;padding:40px 0;border-top:3px solid gold}.site-header .form-inline .btn:hover,.top-bar{background:gold}.site-footer ul{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.btn-live,.top-bar ul{display:-webkit-box;display:-ms-flexbox}.site-footer ul li a{display:block;color:#fff;margin:0 15px 10px;text-decoration:none}.site-footer ul li a:hover,.top-bar ul li a:hover{text-decoration:underline}.top-bar{line-height:1;padding:10px 0}.top-bar ul{width:100%;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.top-bar ul li a{display:block;font-size:12px;margin:0 0 0 20px;color:#000;text-transform:uppercase;text-decoration:none}.site-header{border-bottom:1px solid rgba(0,0,0,.1);background-color:#fff}.site-header .bg-light{background:#fff!important}.site-header .navbar-nav .nav-link{text-transform:uppercase;font-family:montserrat,sans-serif;font-size:14px;font-weight:700}.site-header .form-inline .form-control{height:35px;font-size:14px}.site-header .form-inline .form-control:focus{-webkit-box-shadow:none;box-shadow:none;border-color:#036}.site-header .form-inline .btn{background:#036;color:#fff;font-size:14px}.btn-live{background-color:#000;border-color:#000;color:#fff;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:17px;border-radius:0}.btn-live:focus,.btn-live:hover{background-color:#0576e4;border-color:#0576e4;color:#fff}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px; /* spacing between icons */
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.toc {
  background: #f8f9fa;
  padding: 15px;
  border-left: 4px solid gold;
  border-radius: 6px;
  margin-bottom: 20px;
}

.toc ul {
  padding-left: 20px;
}

.toc li {
  margin-bottom: 6px;
}

.toc a {
  text-decoration: none;
  color: #333;
}

.toc a:hover {
  color: #0e6697;
}

html {
  scroll-behavior: smooth;
}

/* Author Social Links */
.author-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.author-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #0e6697;
  color: #fff !important;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.author-social-link:hover {
  background-color: gold;
  color: #333 !important;
  transform: scale(1.1);
  text-decoration: none;
}

.author-social-link i {
  font-size: 16px;
  margin: 0;
  width: auto;
}

/* LinkedIn "View my Profile" rectangular button */
.author-social-link-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background-color: #0077B5;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  overflow: hidden;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s;
}

.author-social-link-linkedin:hover {
  background-color: #005885;
  color: #fff !important;
}

.linkedin-btn-text {
  padding: 9px 14px;
}

.linkedin-btn-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #005885;
  padding: 9px 10px;
  align-self: stretch;
}

.author-social-link-linkedin:hover .linkedin-btn-logo {
  background-color: #003f63;
}

/* Footer background — not defined in Bootstrap 4, so declared here */
.bg-black {
  background-color: #000 !important;
}

/* ============ Single post (modern, centered layout) ============ */

.single-title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  margin-bottom: 1.1rem;
}

.single-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #343a40;
}

.single-content p {
  margin-bottom: 1.25rem;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  line-height: 1.35;
}

.single-content img {
  border-radius: 10px;
}

.single-content blockquote {
  border-left: 4px solid gold;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  background-color: #f8f9fa;
}

/* Post meta bar — modern card, label on top, value below */
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  padding: 6px 18px;
  margin-bottom: 28px;
}

.post-meta-item {
  display: flex;
  flex-direction: column;
  padding: 10px 18px 10px 0;
  margin-right: 18px;
  border-right: 1px solid #e9ecef;
  line-height: 1.4;
}

.post-meta-item:last-child {
  border-right: none;
  margin-right: 0;
}

.post-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #595f66; /* 6.1:1 on #f8f9fa — WCAG AA */
  margin-bottom: 3px;
  white-space: nowrap;
}

.post-meta-label [class^="icon-"],
.post-meta-label [class*=" icon-"] {
  font-size: 11px;
  margin-right: 3px;
}

.post-meta-value {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.post-meta-value a {
  color: #0e6697;
  text-decoration: none;
}

.post-meta-value a:hover {
  text-decoration: underline;
}

/* LinkedIn icon next to the approver name */
.meta-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -2px;
  margin-left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #0077B5;
  color: #fff !important;
  transition: background-color 0.2s, transform 0.2s;
}

.meta-linkedin:hover {
  background-color: #005885;
  color: #fff !important;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .single-title {
    font-size: 1.65rem;
  }

  .post-meta-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cfcfcf #f0f0f0;
    padding-bottom: 6px;
  }

  .post-meta-bar::-webkit-scrollbar {
    height: 3px;
  }

  .post-meta-bar::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
  }

  .post-meta-bar::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 2px;
  }

  .post-meta-item {
    flex-shrink: 0;
    padding: 8px 16px 8px 0;
    margin-right: 16px;
  }
}
/* --- Accessibility fixes (Lighthouse) --- */

/* Links inside article text must not rely on color alone */
.single-content p a,
.single-content li a {
  text-decoration: underline;
}

/* But image links (download/buy buttons) and the TOC nav list keep no underline */
.single-content a:has(img),
.single-content .toc a {
  text-decoration: none;
}

/* Breadcrumb dividers come from CSS, not bare text nodes in the list.
   Restores the padding zeroed out by the reset near the top of this file. */
.breadcrumb-item + .breadcrumb-item::before {
  padding-right: 0.35rem;
  padding-left: 0.35rem;
}

/* Navbar links: Bootstrap's rgba(0,0,0,.5) default fails WCAG AA on white */
.navbar-light .navbar-nav .nav-link {
  color: #495057; /* 8.2:1 on #fff */
}
