/*
Theme Name: Directoria
Theme URI: https://e2softbd.com/directoria
Author: Your Name or Company
Author URI: https://e2softbd.com
Description: A modern and fully customizable WordPress theme for business listings, local directories, and classified ads.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: directoria
Tags: directory, listing, business, local, responsive, customizable, bootstrap, map, listings, search
*/

html {
    scroll-behavior: smooth; /* smooth scroll globally */
}

body.bn-lang {
    font-family: 'Hind Siliguri', sans-serif;
}


.adsense-slot {
  background: #f3f4f6;
  border: 2px dashed #cbd5e1;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
section[id] {
  scroll-margin-top: 80px; /* adjust based on header height */
}

li.pll-parent-menu-item ul.absolute li.lang-item a.block  img{
	display:inline;
	position: relative;
    bottom: 1.5px;
}


.station-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.station-card:hover {
  box-shadow: 0 8px 20px 0 rgba(37,99,235,0.18), 0 1.5px 6px 0 rgba(0,0,0,0.05);
  transform: translateY(-3px) scale(1.01);
}

.blog-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e40af;
  margin-top: 1.5rem;
}
.blog-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
  margin-top: 1.25rem;
}
.blog-content p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #374151;
}
.blog-content ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.blog-content img {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.08);
  max-width: 100%;
  height: auto;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}
.alignnone {
  float: none;
  margin: 0;
}
.size-full {
  max-width: 100%;
  height: auto;
}

.size-large {
  max-width: 100%;
  height: auto;
}

.size-medium {
  max-width: 100%;
  height: auto;
}

.size-thumbnail {
  max-width: 100%;
  height: auto;
}
.wp-caption {
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px 0 rgba(37, 99, 235, 0.08);
  overflow: hidden;
  background-color: #fff;
  text-align: center;
  margin: 1rem auto;
}

.wp-caption img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: #4B5563; /* Tailwind gray-700 */
}

/* Main article content wrapper */
.article-content {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #1f2937; /* Tailwind gray-800 */
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Paragraphs */
.article-content p {
    margin-bottom: 1.25rem;
}

/* Headings */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1e3a8a; /* Tailwind blue-900 */
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.125rem; }
.article-content h4 { font-size: 1rem; }
.article-content h5 { font-size: 0.875rem }

/* Links */
.article-content a {
    color: #2563eb; /* Tailwind blue-600 */
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.article-content a:hover {
    color: #1e40af; /* Tailwind blue-800 */
}

/* Images */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

/* Blockquotes */
.article-content blockquote {
    border-left: 4px solid #3b82f6; /* Tailwind blue-500 */
    padding-left: 1rem;
    font-style: italic;
    color: #374151; /* Tailwind gray-700 */
    background: #f9fafb; /* Tailwind gray-50 */
    margin: 1.5rem 0;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Tables */
.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.article-content table th,
.article-content table td {
    border: 1px solid #d1d5db; /* Tailwind gray-300 */
    padding: 0.75rem;
    text-align: left;
}

.article-content table th {
    background-color: #f3f4f6; /* Tailwind gray-100 */
    font-weight: 600;
}

/* Responsive Video Embeds */
.article-content iframe {
    max-width: 100%;
    border: none;
}

/* Code blocks */
.article-content pre,
.article-content code {
    background-color: #f3f4f6; /* Tailwind gray-100 */
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.9rem;
}

.article-content pre {
    padding: 1rem;
    overflow-x: auto;
}
