/*
Theme Name: Hola
Theme URI: https://themeshaper.com/hola/
Author: Automattic
Author URI: https://automattic.com
Description: Hola is a text-only blog design, a new interpretation of the theme ‘Hey’ with diverse style variations.
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hola
Tags: blog, one-column, two-columns, block-patterns, block-styles, buddypress, custom-colors, custom-logo, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-site-editing, full-width-template, microformats, post-formats, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}
.wp-block-gallery {
  width: 100vw; /* Full viewport width */
  max-width: 1000px; /* Limit to 1000px */
  margin-left: calc(-50vw + 50%); /* Center it */
}

/* Header Styling */
.site-header {
    background-color: inherit;
    width: 100%;
    box-sizing: border-box;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Blog Title */
.site-title {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 28px;
    color: #000;
    text-decoration: none;
}

/* Navigation Menu */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* .main-navigation a:hover {
    color: #8B7355;
}
 */
.wp-block-cover > .wp-block-cover__image-background {
    filter: none !important;
}

.wp-block-cover {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Preserve root styles */
:root {
    --wp--style--root--padding-top: 0px;
    --wp--style--root--padding-right: 0px;
    --wp--style--root--padding-bottom: 0px;
    --wp--style--root--padding-left: 0px;
}

/* Override image filters */
.wp-block-cover > .wp-block-cover__image-background {
    filter: none !important;
}

.wp-block-cover {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Ensure body styles are inherited */
body, 
.wp-site-blocks,
.editor-styles-wrapper {
    background-color: var(--wp--preset--color--custom-background-3);
    color: var(--wp--preset--color--custom-text);
    font-family: var(--wp--preset--font-family--manrope);
    font-size: var(--wp--preset--font-size--medium);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0rem;
    line-height: 1.5;
}

/* Title shadow and max-width style */
.post-title-shadow {
    box-shadow: 12px 12px;
    display: inline-block; /* Ensures the box-shadow works properly */
    max-width: 1200px !important;
    width: auto !important;
}

/* Ensure the title container respects max-width */
.wp-block-cover__inner-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Enable wide alignments to break out of content width */
.wp-block-uagb-image-gallery.alignwide {
    max-width: 1200px;
    margin-left: calc((100% - 1200px) / 2);
    margin-right: calc((100% - 1200px) / 2);
    width: 100%;
}

@media (max-width: 1260px) {
    .wp-block-uagb-image-gallery.alignwide {
        max-width: calc(100vw - 60px);
        margin-left: -30px;
        margin-right: -30px;
    }
}

.wide-container {
    width: 100%;
    max-width: 1200px;
    margin-left: calc(50% - 600px);
    margin-right: calc(50% - 600px);
    position: relative;
}

/* Make it responsive */
@media (max-width: 1260px) {
    .wide-container {
        max-width: calc(100vw - 60px);
        margin-left: -30px;
        margin-right: -30px;
    }
}

.main-navigation {
    font-family: var(--wp--preset--font-family--manrope); /* or whatever your body font variable is */
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    gap: 1.1rem;
	margin-right: 20px;
}

.main-navigation a {
    text-decoration: none;
	font-size: 16px;
	font-weight: bold;
    color: var(--wp--preset--color--custom-text);
}
.main-navigation a:hover {
	text-decoration: underline;
	color: var(--wp--preset--color--custom-link-hover);
}

/* Style the search widget */
.wp-block-search {
    margin-left: 2rem;
}

.wp-block-search__input {
    border: 1px solid var(--wp--preset--color--custom-text);
    border-radius: 4px;
    padding: 0.5rem;
    font-family: var(--wp--preset--font-family--manrope);
}

.blog-gallery-container {
	padding-left: 40px;
	padding-right: 40px;
	margin: 40px auto;
}

.wp-block-search__input {
	background: transparent;
    font-size: 14px;
	border: 0;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.wp-block-search {
	outline: none;
	border: 0;

	
}

.author-date-block {
	margin-bottom:30px;
	font-size:14px;
	font-weight:700;
}
.author-date-block p, .author-date-block div {
	display: inline;
}
.author-date-block time { display: block; }

:where(.wp-block-columns) {
	margin-bottom: 0 !important;
}