/*
Theme Name: Hunimed
Theme URI: 
Author: Cutowl
Author URI: https://www.cutowl.com
Description: Portale Hunimed Alumni
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hunimed
Tags: 

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

 a,
button,
.wp-block-button__link,
input,
textarea,
select {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


 a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}
.wp-site-blocks > main{
    margin-top: calc( 78px) !important;
}

.is-spacebetween{
	justify-content: space-between;
}

.is-horizontal{
	display: flex;
    gap: 60px;
	margin-left: 0 !important;
}

.is-horizontal li{
	flex: 0 0 28%;
}
.site-header{
    position: fixed;
    width: 100%;
    top: var(--wp-admin--admin-bar--height, 0px);
    left: 0;
    z-index: 10;
}

.site-header.fixed-off, 
.site-header.fixed-on {
    background: rgba(247, 246, 247, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 1px 10px -6px #ccc;
}

/*accordion hp*/
.accordion-head:hover {
cursor:pointer;
}
.accordion-head:hover h3{
	color: var();
}

.btn-plus p{
	width: 36px !important;
	height: 36px !important;
	text-align: center;
	line-height: 32px;
	cursor:pointer;
	transition: all 0.3s ease;

}

.accordion-head.active .btn-plus p{
	line-height: 33px;
}

.accordion-head:hover .btn-plus p,
.accordion-head.active .btn-plus p{
	color: #000 !important;
}

body:not(.block-editor-iframe__body) .accordion-body {
  overflow: hidden;
  height: 0;
  transition: height 0.4s ease;
}

body.wp-admin .accordion-body {
  overflow: auto;
  height: auto;
}

/* --- INPUT & TEXTAREA CONTACT FORM 7 --- */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
	font-family: var(--wp--preset--font-family--inter);
    width: 100%;
    border: 1.5px solid #D1D5DB; 
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 16px;
    background: #fff;
    color: #4B5563;
    box-sizing: border-box;
}

/* --- PLACEHOLDER --- */
.wpcf7 form ::placeholder {
    color: #666; 
    opacity: 1;
}

/* --- BOTTONe SUBMIT --- */
.wpcf7 form input[type="submit"] {
	font-family: var(--wp--preset--font-family--inter);
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    background: #0073aa;
    color: #fff;
    transition: 0.2s;
}

.wpcf7 form input[type="submit"]:hover {
    background: #005c88;
}

.hero-hp {
	min-height: calc(100vh - 78px) !important;
}

.hero-hp .wp-block-cover__background {
	mix-blend-mode: multiply;
 }

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

.loop-active-programs .wp-block-post-excerpt__more-link{
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    background: transparent none;
    background-color: var(--wp--preset--color--white);
    border-color: currentColor;
    border-width: 2px;
    border-style: solid;
    border-top-color: currentColor;
    border-top-width: 2px;
    border-top-style: solid;
    border-right-color: currentColor;
    border-right-width: 2px;
    border-right-style: solid;
    border-bottom-color: currentColor;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-left-color: currentColor;
    border-left-width: 2px;
    border-left-style: solid;
    color: var(--wp--preset--color--accent-1);
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    font-style: normal;
    font-weight: 600;
    padding-top: 0.667em;
    padding-right: 1.33em;
    padding-bottom: 0.667em;
    padding-left: 1.33em;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.loop-active-programs .wp-block-post-excerpt__more-link:hover{
    background-color: var(--wp--preset--color--accent-1);
    color: var(--wp--preset--color--white);
}

.post-subtitle{
    font-weight: 500;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}
