/* ==========================================================
   Tailorand – WordPress specific additions to the template CSS
   ========================================================== */

/* Forms */
.tl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tl-form-msg { margin-top: 15px; padding: 12px 15px; font-size: 14px; line-height: 1.5; border-left: 3px solid #91765a; background: rgba(145, 118, 90, 0.08); color: #14100c; }
.tl-form-msg.is-error { border-left-color: #b32d2e; background: rgba(179, 45, 46, 0.08); }
.tl-form-msg[hidden] { display: none; }
.footer .tl-form-msg, .comming .tl-form-msg { color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-form1-submit:disabled { opacity: .7; cursor: wait; }

/* Hero image variant */
.tl-hero .tl-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; }

/* Rich content from the editor */
.tl-content > *:last-child { margin-bottom: 0; }
.tl-content img { max-width: 100%; height: auto; }
.tl-content h2, .tl-content h3, .tl-content h4 { margin: 30px 0 15px; }
.tl-content ul, .tl-content ol { padding-left: 20px; margin-bottom: 20px; }
.tl-content li { margin-bottom: 6px; }
.tl-content figure { margin-bottom: 30px; }
.tl-content .wp-block-image img, .tl-content .wp-block-gallery img { width: 100%; object-fit: cover; }
.tl-content .wp-block-quote, .tl-content blockquote { margin: 30px 0; }
.tl-content a { color: #91765a; }
.tl-content table { width: 100%; margin-bottom: 20px; border-collapse: collapse; }
.tl-content td, .tl-content th { border: 1px solid #e5e1dc; padding: 8px 12px; }
.tl-post-tags { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tl-post-tags li a { display: inline-block; padding: 6px 18px; background: #f2efeb; color: #14100c; font-size: 14px; }
.tl-post-tags li a:hover { background: #91765a; color: #fff; }

/* Services list page: space between alternating cards */
.services .item.left figure { margin-left: auto; margin-right: 0; }
.services .row + .row .item { margin-top: 60px; }
.services .item .title a { color: inherit; }
.tl-wedding-blocks .row + .row .item { margin-top: 60px; }
.tl-service-body .tailor-pricing .menu-list .item { line-height: 45px; }
.tl-service-gallery .gallery-item { padding-bottom: 24px; }
.tl-service-gallery .gallery-img img { width: 100%; }
.sidebar .widget-inner .tailor-pricing .menu-list .item { line-height: 45px; }
@media (max-width: 991.98px) {
	.sidebar .sidebar-widget .widget-inner { margin-top: 30px; }
}

/* Gallery images keep an even grid even if originals differ in size */
.gallery-item .gallery-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.vid-area .vid-icon img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Blog grid page: no dark band behind cards */
.tl-blog-grid:before, .tl-blog-grid:after { display: none; }
.tl-blog-grid .item img, .blog .item .position-re img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog .owl-carousel .item .position-re > a { display: block; }
.blog-pagination-wrap { list-style: none; padding: 0; justify-content: center; }
.blog3 .post-img img { width: 100%; }
.blog2 figure img { width: 100%; }

/* Sidebar widgets (core widgets + defaults) */
.blog3-sidebar .widget { background: #f2efeb; padding: 30px; margin-bottom: 30px; }
.blog3-sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.blog3-sidebar .widget .recent li { display: flex; align-items: center; gap: 12px; }
.blog3-sidebar .widget .recent .thum { flex: 0 0 70px; width: 70px; float: none; margin: 0; }
.blog3-sidebar .widget .recent .thum img { width: 70px; height: 55px; object-fit: cover; display: block; }
.blog3-sidebar .widget ul.tags { display: flow-root; }
.blog3-sidebar .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.blog3-sidebar .tagcloud a { padding: 8px 20px; background: #fbf8f4; color: #14100c; font-size: 15px !important; }
.blog3-sidebar .tagcloud a:hover { background: #91765a; color: #fff; }
.tl-search-form { position: relative; }
.tl-search-form input { width: 100%; padding: 10px 45px 10px 12px; border: 0; background: #fbf8f4; margin: 0; }
.tl-search-form button { position: absolute; right: 0; top: 0; height: 100%; background: transparent; border: 0; padding: 0 14px; color: #14100c; cursor: pointer; }

/* Single post */
.banner-header .post { display: flex; gap: 25px; justify-content: inherit; flex-wrap: wrap; margin-top: 10px; }
.banner-header .text-end .post { justify-content: flex-end; }
.banner-header .text-center .post { justify-content: center; }
.banner-header .post .author img { width: 30px; height: 30px; border-radius: 50%; margin-right: 6px; }
.banner-header .post span, .banner-header .post div { color: #fff; font-size: 13px; }
.tl-comment-list .post-comment-wrap { margin-bottom: 40px; }
.tl-comment-list .children { margin-left: 40px; }
.tl-comment-form .input2_inner { margin-bottom: 15px; }
.tl-comment-form .btn-form1-submit { width: auto; padding: 0 20px; }
.tl-comment-form .form-submit { margin-top: 15px; }
.tl-comment-form .comment-form-cookies-consent { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.comment-reply-title { font-size: 24px; margin-bottom: 20px; }
.comment-reply-title small { display: block; font-size: 13px; margin-top: 5px; }

/* Team */
.team-page .item .con { position: relative; }
.team .item > a img { width: 100%; }
.team .item .con .text-end h5 { margin-bottom: 0; }
.team-box .wrap img { width: 100%; }
.team-box .cont .coll h5 a { color: inherit; }
.tl-team-tabs { margin-top: 10px; }

/* About founder block */
.tl-founder .section-head { margin-bottom: 20px; }
.tl-founder p { color: #aba59f; }

/* Contact page form box */
.tl-contact-box { background: #f2efeb; padding: 55px 30px 40px; margin-top: 60px; }
.tl-contact-box .btn-form1-submit { width: auto; padding: 0 20px; }
.tl-contact-box .form1 label { display: none; }
.info-box .item .cont p a { color: #625c56; }

/* Full screen 404 / coming soon */
.tl-fullscreen { display: flex; align-items: center; padding: 120px 0; background-size: cover; background-position: center; }
.tl-coming-body { background: #14100c; }
.comming .tl-countdown .item h3 { font-size: 45px; }
.comming .tl-countdown .item h6 { margin: 0; }

/* Clients without a link */
.clients .clients-logo > span { display: block; }

/* Footer links inherit template colours */
.footer .footer-contact-info a { color: inherit; }

/* Admin bar offset for the fixed navbar */
body.admin-bar .nav-scroll { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .nav-scroll { top: 46px; }
}
