/*
Theme Name: Dentistas Nicaragua
Theme URI: https://dentistasnicaragua.com
Author: GitHub Copilot
Author URI: https://github.com
Description: Tema profesional para Dentistas Nicaragua.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dentistas-nicaragua
*/

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Hero Background */
.hero-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Blobs Animation */
.blob {
    position: absolute;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.4;
}
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 7s infinite;
}
.animation-delay-2000 {
    animation-delay: 2s;
}
.animation-delay-4000 {
    animation-delay: 4s;
}

/* Basic blog typography (works even without Tailwind Typography plugin) */
.dn-prose {
    line-height: 1.75;
}
.dn-prose > *:first-child {
    margin-top: 0;
}
.dn-prose p {
    margin: 0 0 1rem;
}
.dn-prose .lead {
    font-size: 1.125rem;
    line-height: 1.85;
}
.dn-prose h2 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 2rem 0 0.75rem;
    font-weight: 800;
    color: #111827;
}
.dn-prose h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 1.5rem 0 0.5rem;
    font-weight: 700;
    color: #111827;
}
.dn-prose ul,
.dn-prose ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}
.dn-prose li {
    margin: 0.25rem 0;
}
.dn-prose a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.dn-prose a:hover {
    text-decoration-thickness: 2px;
}
.dn-prose blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid #2563eb;
    background: rgba(37, 99, 235, 0.06);
}

/* Sidebar widget styling */
.widget {
    overflow: hidden;
}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    margin: 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}
.widget li:first-child {
    border-top: 0;
    padding-top: 0;
}
.widget li:last-child {
    padding-bottom: 0;
}
.widget a {
    color: #111827;
    text-decoration: none;
}
.widget a:hover {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.widget .wp-block-search,
.widget .search-form {
    display: flex;
    gap: 0;
    margin-top: 0.25rem;
}
.widget .wp-block-search__input,
.widget .search-field {
    width: 100%;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-right: 0;
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 0.6rem 0.85rem;
    outline: none;
}
.widget .wp-block-search__input:focus,
.widget .search-field:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.widget .wp-block-search__button,
.widget .search-submit {
    border: 1px solid rgba(37, 99, 235, 0.9);
    background: #2563eb;
    color: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    font-weight: 700;
}
.widget .wp-block-search__button:hover,
.widget .search-submit:hover {
    filter: brightness(0.95);
}
.widget_recent_comments li,
.widget_recent_entries li,
.widget_categories li,
.widget_archive li {
    font-size: 0.95rem;
}
.widget_recent_comments a,
.widget_recent_entries a {
    font-weight: 600;
}
