/*
Theme Name: iBizSoft Blog
Description: ibizsoftinc.com/blog. Uses the site's own head tags, header and footer (from the htdocs checkout) so the blog matches ibizsoftinc.com. Lives in git: wordpress/themes/ibizsoftinc-blog.
Version: 1.0
Requires PHP: 8.1
Text Domain: ibizsoftinc-blog
Update URI: false
*/

/* Banner, same shape as the site's inner pages (.section.hero.*) */
.section.hero.ibiz-blog-hero {
    background-image: linear-gradient(204deg, #0b4ea2, rgba(7, 59, 125, .95) 60%, #043067);
}
.ibiz-blog-hero .hero_meta {
    color: rgba(255, 255, 255, .85);
    margin-top: 12px;
}
.ibiz-blog-hero .hero_meta a {
    color: #fff;
    text-decoration: underline;
}

/* Post list: the site's #news article tiles; posts without an image get a brand tile */
#news .article-tile .article-media.no-media {
    background-image: linear-gradient(204deg, #0b4ea2, #043067);
}
#news .article-tile .article-date {
    font-size: 13px;
    color: #8898aa;
}
.ibiz-blog-list-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}
.ibiz-blog-list-header h2 {
    margin: 0;
}
.ibiz-blog-list-header .search-form {
    display: flex;
    gap: 8px;
}
.ibiz-blog-list-header .search-field {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 10px;
}
.ibiz-blog-list-header .search-submit {
    background: #073b7d;
    border: 0;
    border-radius: 4px;
    color: #fff;
    padding: 6px 14px;
}

/* Pagination */
.ibiz-blog .pagination {
    margin-top: 35px;
    justify-content: center;
}
.ibiz-blog .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.ibiz-blog .page-numbers {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #073b7d;
    padding: 6px 12px;
}
.ibiz-blog .page-numbers.current,
.ibiz-blog a.page-numbers:hover {
    background: #073b7d;
    border-color: #073b7d;
    color: #fff;
    text-decoration: none;
}

/* A single post / page */
.ibiz-blog-entry {
    max-width: 820px;
    margin: 0 auto;
}
.ibiz-blog-entry .entry-featured img {
    border-radius: 4px;
    margin-bottom: 25px;
    width: 100%;
    height: auto;
}
.ibiz-blog-entry .entry-content {
    color: #32325d;
    font-size: 17px;
    line-height: 1.7;
}
.ibiz-blog-entry .entry-content h2,
.ibiz-blog-entry .entry-content h3,
.ibiz-blog-entry .entry-content h4 {
    margin: 1.6em 0 .6em;
}
.ibiz-blog-entry .entry-content img {
    max-width: 100%;
    height: auto;
}
.ibiz-blog-entry .entry-content a {
    color: #0b4ea2;
    text-decoration: underline;
}
.ibiz-blog-entry .entry-content blockquote {
    border-left: 4px solid #0b4ea2;
    color: #525f7f;
    margin: 1.5em 0;
    padding: .2em 0 .2em 1.2em;
}
.ibiz-blog-entry .entry-content pre {
    background: #f6f9fc;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
}
.ibiz-blog-entry .entry-content table {
    border-collapse: collapse;
    margin: 1.5em 0;
    width: 100%;
}
.ibiz-blog-entry .entry-content th,
.ibiz-blog-entry .entry-content td {
    border: 1px solid #dee2e6;
    padding: 8px 10px;
}
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: #8898aa; font-size: 14px; text-align: center; }
.ibiz-blog-entry .entry-footer {
    border-top: 1px solid #e9ecef;
    color: #8898aa;
    font-size: 14px;
    margin-top: 35px;
    padding-top: 15px;
}
.ibiz-blog-entry .post-navigation {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}
.ibiz-blog-entry .post-navigation a {
    color: #073b7d;
    font-weight: 600;
}
.ibiz-blog-entry .comments-area {
    margin-top: 45px;
}
.ibiz-blog-entry .comment-list {
    list-style: none;
    padding: 0;
}
.ibiz-blog-entry .comment-list .comment {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
}
.ibiz-blog-entry .comment-form textarea,
.ibiz-blog-entry .comment-form input[type="text"],
.ibiz-blog-entry .comment-form input[type="email"],
.ibiz-blog-entry .comment-form input[type="url"] {
    border: 1px solid #ced4da;
    border-radius: 4px;
    max-width: 100%;
    padding: 8px 10px;
    width: 100%;
}
.ibiz-blog-entry .comment-form .submit {
    background: #073b7d;
    border: 0;
    border-radius: 4px;
    color: #fff;
    padding: 8px 18px;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}
