/*
Theme Name: Elcar
Author: Tanveen Sorkar
Author URI: https://www.facebook.com/iamtanveensorkar.tanvir
Description: Elcar is a modern, responsive Bootstrap-based WordPress theme ideal for blogs, portfolios, or business websites.
Version: 1.0.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, translation-ready
Text Domain: elcar
*/
/* Copyright (C) 2025 Tanveen Sorkar. Elcar WordPress theme is licensed under the GPL. */

.alignright {
    float: right;
    margin: 1em;
}

.alignleft {
    float: left;
    margin: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #f9f9f9;
    padding: 5px;
}

.wp-caption-text {
    font-size: 0.9em;
}

.gallery-caption {
    font-style: italic;
}

.bypostauthor {
    font-weight: bold;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.container .pagination {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container .pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.container .pagination ul li {
  display: inline-block;
}

.container .pagination ul li a,
.container .pagination ul li span {
  display: block;
  padding: 8px 14px;
  color: #555;
  background: #f5f5f5;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container .pagination ul li a:hover {
  background-color: #0073aa;
  color: #fff;
}

.container .pagination ul li .current {
  background-color: #0073aa;
  color: #fff;
  pointer-events: none;
  box-shadow: none;
}

.container .pagination ul li .dots {
  cursor: default;
  color: #999;
  background: transparent;
  box-shadow: none;
}
.blog-title {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.blog-title a {
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  word-break: break-word;
}
.comments-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  word-break: break-word;
}
.entry-content a,
.comment-content a,
.widget a {
    text-decoration: underline;
    color: #0073aa;
}

.entry-content a:hover {
    text-decoration: none;
    color: #005177;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}
