/*
Theme Name: Florida Man Bail Bonds
Theme URI: https://floridamanbailbonds.com
Author: Bail America Bail Bonds
Author URI: https://floridamanbailbonds.com
Description: Custom WordPress theme matching the main floridamanbailbonds.com website design - chaotic Florida Man inspired theme with Tailwind CSS
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: floridaman-bailbonds
Tags: blog, bail-bonds, custom-design, tailwind

Florida Man Bail Bonds - Mirrors the main site design at floridamanbailbonds.com
*/

/* The theme uses Tailwind CSS loaded via CDN in functions.php */
/* All styling is done through Tailwind utility classes */

/* Custom Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-spin {
    animation: spin 3s linear infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

/* Mobile tap highlight */
* {
    -webkit-tap-highlight-color: rgba(255, 255, 0, 0.3);
}

/* Minimum touch target size */
button, a {
    min-height: 44px;
}

/* ========================================
   WORDPRESS BLOCK EDITOR STYLES
   ======================================== */

/* WordPress Core Content Styles */
.entry-content {
    line-height: 1.8;
}

/* Paragraphs */
.entry-content p {
    margin-bottom: 1.5em;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1f2937;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-weight: 900;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.2;
    color: #dc2626;
}

.entry-content h1 {
    font-size: 2.5rem;
    border-bottom: 4px solid #fbbf24;
    padding-bottom: 0.5rem;
}

.entry-content h2 {
    font-size: 2rem;
    border-left: 6px solid #fbbf24;
    padding-left: 1rem;
}

.entry-content h3 {
    font-size: 1.75rem;
    color: #ea580c;
}

.entry-content h4 {
    font-size: 1.5rem;
    color: #ea580c;
}

.entry-content h5 {
    font-size: 1.25rem;
}

.entry-content h6 {
    font-size: 1.125rem;
}

/* Links */
.entry-content a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #dc2626;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 2rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

.entry-content li > ul,
.entry-content li > ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Blockquotes */
.entry-content blockquote {
    background: #fef3c7;
    border-left: 8px solid #fbbf24;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-size: 1.25rem;
    font-style: italic;
    color: #92400e;
}

.entry-content blockquote p {
    margin-bottom: 0.5em;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    font-size: 0.875rem;
}

/* Code */
.entry-content code {
    background: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #dc2626;
}

.entry-content pre {
    background: #1f2937;
    color: #fbbf24;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 4px solid #000;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    border: 4px solid #fbbf24;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin: 2rem 0;
}

.entry-content figure {
    margin: 2rem 0;
}

.entry-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

/* WordPress Block: Separator */
.entry-content hr,
.entry-content .wp-block-separator {
    border: none;
    border-top: 4px solid #fbbf24;
    margin: 3rem 0;
    height: 4px;
    background: #fbbf24;
}

/* WordPress Block: Button */
.entry-content .wp-block-button__link {
    background: #fbbf24 !important;
    color: #000 !important;
    border: 4px solid #000 !important;
    padding: 1rem 2rem !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.2s !important;
}

.entry-content .wp-block-button__link:hover {
    background: #f59e0b !important;
    transform: scale(1.05);
}

/* WordPress Block: Quote */
.entry-content .wp-block-quote {
    background: #fef3c7;
    border-left: 8px solid #fbbf24;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-size: 1.25rem;
    font-style: italic;
}

.entry-content .wp-block-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    font-size: 0.875rem;
}

/* WordPress Block: Pullquote */
.entry-content .wp-block-pullquote {
    border-top: 8px solid #fbbf24;
    border-bottom: 8px solid #fbbf24;
    padding: 2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc2626;
    margin: 3rem 0;
}

/* WordPress Block: Table */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 4px solid #000;
}

.entry-content table th {
    background: #fbbf24;
    color: #000;
    font-weight: 900;
    padding: 1rem;
    text-align: left;
    border: 2px solid #000;
}

.entry-content table td {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
}

.entry-content table tr:nth-child(even) {
    background: #f9fafb;
}

.entry-content table tr:hover {
    background: #fef3c7;
}

/* WordPress Block: Cover */
.entry-content .wp-block-cover {
    margin: 2rem 0;
    border: 4px solid #000;
}

/* WordPress Block: Columns */
.entry-content .wp-block-columns {
    margin: 2rem 0;
}

/* WordPress Block: Gallery */
.entry-content .wp-block-gallery {
    margin: 2rem 0;
}

.entry-content .wp-block-gallery .blocks-gallery-item img {
    border: 4px solid #fbbf24;
}

/* WordPress Block: File */
.entry-content .wp-block-file {
    background: #f3f4f6;
    padding: 1rem;
    border: 2px solid #000;
    margin: 1.5rem 0;
}

.entry-content .wp-block-file a {
    font-weight: 900;
    color: #dc2626;
}

/* WordPress Block: Video/Audio */
.entry-content video,
.entry-content audio {
    max-width: 100%;
    border: 4px solid #000;
    margin: 2rem 0;
}

/* WordPress Block: Embed (YouTube, etc) */
.entry-content .wp-block-embed {
    margin: 2rem 0;
}

.entry-content .wp-block-embed iframe {
    border: 4px solid #000;
    max-width: 100%;
}

/* Strong/Bold */
.entry-content strong,
.entry-content b {
    font-weight: 900;
    color: #000;
}

/* Emphasis/Italic */
.entry-content em,
.entry-content i {
    font-style: italic;
}

/* Small text */
.entry-content small {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Mark/Highlight */
.entry-content mark {
    background: #fef3c7;
    padding: 0.2em 0.4em;
    font-weight: bold;
}

/* Strikethrough */
.entry-content del,
.entry-content s {
    text-decoration: line-through;
    opacity: 0.6;
}

/* ========================================
   WORDPRESS CORE ALIGNMENT CLASSES
   ======================================== */

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Clear floats */
.entry-content::after {
    content: "";
    display: table;
    clear: both;
}
