/*
 * HostMeNow Static Blog Styles
 * Combined from HTMLy Developer theme + HostMeNow custom overrides
 */

/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700|Montserrat:400,600,700|Open+Sans:400,600|Source+Sans:400,600');

/* ===== Base ===== */
body {
  font-family: 'Lato', arial, sans-serif;
  color: #434343;
  background: #f5f5f5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #5f6b77;
}
.h1, h1 { font-size: 24px; }
.h2, h2 { font-size: 20px; }
.h3, h3 { font-size: 18px; }
.h4, h4 { font-size: 16px; }
p { margin: 1em 0; }
.aside p, .related p { margin: 0 0 10px 0; }
blockquote {
  margin: 1em 0;
  font-size: 20px;
  font-family: "Source Sans", sans-serif;
  border-left: 4px solid #2178EC;
  background: #f8f9fa;
  padding: 15px 20px;
  color: #555;
}
blockquote p { margin: 0; }
img {
  display: block;
  height: auto;
  max-width: 100%;
}
img:hover { opacity: 0.8; }
a {
  color: #337ab7;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
a:hover { text-decoration: underline; }
a:focus { text-decoration: none; }

/* ===== Buttons ===== */
.btn, a.btn {
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-family: inherit;
  padding: 5px 10px;
  font-size: 12px;
}
.btn .fa, a.btn .fa { margin-right: 5px; }
.btn:focus, a.btn:focus { color: #fff; }

a.btn-cta-primary, .btn-cta-primary {
  background: #2178EC;
  border: 1px solid #2178EC;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
}
.aside .content a.btn-cta-primary {
  color: #fff;
}
a.btn-cta-primary:hover, .btn-cta-primary:hover {
  background: #1a5fb8;
  border: 1px solid #1a5fb8;
  color: #fff;
  text-decoration: none;
}
a.btn-cta-secondary, .btn-cta-secondary {
  background: #2178EC;
  border: 1px solid #2178EC;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
}
a.btn-cta-secondary:hover, .btn-cta-secondary:hover {
  background: #1a65c9;
  border: 1px solid #1a65c9;
  color: #fff;
}

/* ===== Tags ===== */
.tags { margin-right: 5px; }
.tags a {
  background-color: #f9f2f4;
  border-radius: 4px;
  color: #c7254e;
  padding: 2px 4px;
}

/* ===== Table ===== */
table {
  width: 100%;
  color: #333;
  border: 1px solid #ddd;
  margin: 1em 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
th, td { padding: 5px 10px; }
th {
  background: #2178EC;
  color: #fff;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
}
td {
  border: 1px solid #ddd;
  border-top: none;
}

/* ===== Blog Header ===== */
.blog-header {
  background: #2178EC;
  padding: 30px 0;
  text-align: center;
}
.blog-header h1, .blog-header h2 {
  margin: 0 0 10px 0;
  color: #fff;
}
.blog-header h1 { font-size: 36px; }
.blog-header h2 { font-size: 32px; }
.blog-header h1 a, .blog-header h2 a {
  color: #fff;
  text-decoration: none;
}
.blog-header .desc {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: 18px;
}
.social-icons-white a,
.social-icons-white a:link,
.social-icons-white a:visited {
  color: #fff;
}
.social-icons-white a:hover {
  color: #e0e0e0;
}

/* ===== Sections ===== */
.sections-wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
}
.section {
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}
.comment-wrapper.section { margin-bottom: 30px; }
.section .section-inner {
  padding: 30px;
  color: #333;
}
.section .heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: #000;
  font-size: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}
.section .content .more-link .fa {
  margin-right: 5px;
  font-size: 14px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background-color: #fff;
  border-radius: 0;
  list-style: none;
  margin-bottom: 20px;
  padding: 10px 30px;
  font-family: "Source Sans", sans-serif;
}

/* ===== Post Items ===== */
.post .item { margin-bottom: 10px; }
.post .item .title .label {
  margin-left: 5px;
  font-size: 12px;
}
.post .item .title a { color: #000; }
.post .item .title a:hover { color: #2178EC; }
.post .item .project-image:hover { opacity: 0.8; }
.post .item .title {
  margin-bottom: 10px;
  font-size: 24px;
  margin-top: 0;
}
.post .item .meta {
  color: #666;
  font-family: "Source Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}
.post .item .meta a { color: #2178EC; }
.post .item img { margin: 1em 0; }
.post .featured-image img { margin-top: 0; }
.post .item .info, .post .item .desc { margin-bottom: 1em; }
.post .featured { margin-bottom: 1em; }
.post .featured-image { position: relative; }

/* Featured image sizing */
.featured-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: block;
}
.featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.featured img {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Quote features */
.featured-quote blockquote {
  font-size: 26px;
  margin: 0;
  border: none;
  background: #f0f6ff;
  border: 1px solid #2178EC;
  border-radius: 8px;
}
.item .quote .fa-quote-left { color: #337ab7; margin-right: 15px; }
.item .quote .fa-quote-right { color: #337ab7; margin-left: 15px; }

.featured-link {
  font-size: 26px;
  font-family: "Source Sans", sans-serif;
}
.featured-link .fa { margin-right: 5px; }

.tab { margin-bottom: 20px; }
.pager { margin-top: 0; margin-bottom: 30px; }

/* Share section */
.share { padding-top: 0; }
.in-post .share { padding-top: 0; }
.share a {
  color: #2178EC;
  padding: 4px;
  vertical-align: middle;
  display: inline-block;
  line-height: 1.42857;
  margin-bottom: 0;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 0 5px;
  text-decoration: none;
}
.share a:hover {
  background: #2178EC;
  color: #fff;
  border-color: #2178EC;
}

/* ===== Sidebar ===== */
.aside {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}
.aside .heading {
  color: #000;
  border-bottom: 1px solid #e0e0e0;
}
.aside .content { color: #555; }
.aside .content a { color: #2178EC; }
.aside .content a:hover { color: #1a5fb8; }
.aside .item .title a { color: #000; }
.aside .item .title a:hover { color: #2178EC; }
.aside .more-link { color: #2178EC; }

/* Recent Posts */
.recent-posts .item { margin-bottom: 20px; }
.recent-posts .item .title {
  font-size: 16px;
  line-height: 1.3;
}
.recent-posts .item .title a { color: #555; }
.recent-posts .item .title a:hover { color: #2178EC; }
.recent-posts .item:last-child { margin-bottom: 0; }

/* Archives */
ul.archivegroup {
  margin: 0;
  padding: 0;
}
.archivegroup .expanded ul { display: block; }
.archivegroup .collapsed ul { display: none; }
.archivegroup li.expanded, .archivegroup li.collapsed { list-style: none; }
ul.month {
  list-style: none;
  padding: 0;
  margin: 0.25em 0 0.25em 1.3em;
}
.archive ul, .category-list ul {
  list-style: none;
  padding: 0;
}
.archive ul li, .category-list ul li {
  padding: 5px 0;
  border-bottom: 1px solid #e0e0e0;
}
.archive ul li a, .category-list ul li a {
  color: #555;
  text-decoration: none;
}
.archive ul li a:hover, .category-list ul li a:hover { color: #2178EC; }

/* Category list */
.category-list ul { padding-left: 20px; }

/* Tag cloud */
.tag-cloud a, .tagcloud a {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 37px;
  padding: 5px 10px;
  margin-right: 5px;
  color: #555;
  display: inline-block;
  text-decoration: none;
}
.tag-cloud a:hover, .tagcloud a:hover {
  background: #2178EC;
  color: #fff;
  border-color: #2178EC;
}

/* Related posts */
.related .item { margin-bottom: 0; }
.related .item .title {
  font-size: 16px;
  margin-top: 0;
}
.related .item .title .label {
  font-size: 12px;
  margin-left: 5px;
}
.related .item .title a { color: #555; }
.related .item .title a:hover { color: #2178EC; }
.related .item .project-image:hover { opacity: 0.8; }
.related .divider { margin-bottom: 60px; }

/* List section */
.list ul li { margin-bottom: 10px; }
.list ul li .fa { margin-right: 5px; }
.list ul li a { color: #555; }
.list ul li a:hover { color: #49515a; }

/* ===== Nav Tabs ===== */
.nav-tabs { border-bottom: 1px solid #e0e0e0; }
.nav-tabs > li > a {
  color: #555;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #fff;
  background: #2178EC;
  border: 1px solid #2178EC;
}
.nav-tabs > li > a:hover {
  background: rgba(33, 120, 236, 0.1);
  border: 1px solid #2178EC;
}

/* ===== Code Blocks ===== */
pre, code {
  background: #f8f9fa;
  color: #d63384;
  border: 1px solid #e0e0e0;
}

/* ===== Pagination ===== */
.pagination { margin-top: 0; margin-bottom: 15px; }
.pagination a {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #555;
}
.pagination a:hover {
  background: #2178EC;
  border-color: #2178EC;
  color: #fff;
}
.pagination .current {
  background: #2178EC;
  border-color: #2178EC;
  color: #fff;
}

.feed-link {
  display: inline;
  margin: 0 0 0 10px;
  float: right;
}

/* ===== Post Card Grid (Index Page) ===== */
.post-card {
  margin-bottom: 30px;
}
.post-card .card-inner {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card .card-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.post-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.post-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}
.post-card .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card .card-title {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
}
.post-card .card-title a { color: #000; text-decoration: none; }
.post-card .card-title a:hover { color: #2178EC; }
.post-card .card-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: "Source Sans", sans-serif;
}
.post-card .card-desc {
  color: #555;
  font-size: 14px;
  flex: 1;
}
.post-card .card-link {
  color: #2178EC;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
}
.post-card .card-link:hover { text-decoration: underline; }

/* ===== Post Content Styling ===== */
.post-content h1, .post-content h2, .post-content h3,
.post-content h4, .post-content h5, .post-content h6 {
  color: #000;
}
.post-content a { color: #2178EC; }
.post-content img {
  margin: 1em auto;
  border-radius: 8px;
}
.post-content ul, .post-content ol {
  padding-left: 20px;
}
.post-content li {
  margin-bottom: 5px;
}

/* ===== Footer ===== */
.footer {
  background-color: #2178EC;
  color: #fff;
  padding: 40px 0 15px 0;
  margin-top: 40px;
  font-family: '__Open Sans_5', 'Open Sans', Arial, Helvetica, sans-serif;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.footer-section h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
.footer-section p {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 15px;
}
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul li { margin-bottom: 5px; }
.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer-section ul li a:hover { opacity: 0.8; }
.company-info { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.2); }
.company-info p { margin-bottom: 5px; }
.company-info a { color: #fff; text-decoration: none; }
.company-info a:hover { opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
}
.payment-methods-section { margin-bottom: 20px; }
.payment-methods-section h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 600;
}
.payment-methods-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.payment-methods-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s, transform 0.3s;
  background: rgba(255,255,255,0.9);
  padding: 8px;
  border-radius: 5px;
}
.payment-methods-logos img:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
.more-payments-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.3);
}
.more-payments-badge span {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.view-more-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
}
.view-more-link:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.view-more-text {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.social-section { margin-bottom: 15px; }
.social-section h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}
.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}
.social-links a:hover { opacity: 0.8; }

.trustpilot-section {
  margin-top: 8px;
  text-align: center;
  display: flex;
  justify-content: center;
}
.trustpilot-logo {
  width: 80px;
  height: auto;
  transition: opacity 0.3s;
  display: block;
  margin: 0 auto;
}
.trustpilot-logo:hover { opacity: 0.8; }

.tor-section { margin-bottom: 15px; }
.tor-section p {
  color: #fff;
  font-size: 14px;
  margin: 0;
  word-break: break-all;
}
.tor-section p a {
  color: #fff;
  text-decoration: underline;
}
.tor-section p a:hover { opacity: 0.8; }

.copyright p {
  color: #fff;
  font-size: 14px;
  margin: 0;
}
.company-registration {
  font-size: 11px !important;
  margin-top: 5px !important;
  opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .sections-wrapper { padding-top: 15px; }
  .section .section-inner { padding: 20px; }
  .blog-header h1 { font-size: 28px; }
  .blog-header h2 { font-size: 24px; }
}
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 25px; }
  .footer-section { text-align: center; }
  .social-links { justify-content: center; }
}
@media (max-width: 480px) {
  .footer-container { padding: 0 15px; }
  .footer-section h4 { font-size: 16px; }
  .footer-content { gap: 20px; }
  .social-links { flex-direction: column; align-items: center; gap: 10px; }
  .tor-section p { font-size: 12px; line-height: 1.4; }
}
@media (min-width: 1400px) {
  .container { width: 1360px; }
}
