/*
Theme Name: Presentation Template
Theme URI: https://tandem.nyc/
Author: Malavika
Author URI: https://tandem.nyc/
Description: Starter template for Tandem projects. Adapted from Frost WP.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.2
Tested up to: 6.3.1
Requires PHP: 5.6
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: presentation
*/


/* Defaults
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html {
	scroll-behavior: smooth;
	/* scroll-snap-type: y mandatory; */
}

/* #wpadminbar { 
	display: none !important; 
} */


.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex-grow: 1;
}

/* img.edit-site-site-icon__image {
	filter: invert(1);
} */

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:not(.wp-element-button) {
	text-decoration: underline;
}

a:focus,
a:hover {
	text-decoration: none;
}
header.wp-block-template-part {
	position: sticky; 
	top: 0; 
	z-index: 999; 
}

header.site-header a {
	text-decoration: none;
}
header.site-header nav a:focus,
header.site-header nav a:hover {
	text-decoration: underline;
}

a.wp-element-button:hover,
a.wp-element-button:focus {
	text-decoration: underline;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

/* .alignfull > .alignwide:first-child, */
.wp-block-cover__inner-container.has-global-padding {
	padding-right: var(--wp--style--root--padding-right);
	padding-left: var(--wp--style--root--padding-left);
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
	border-radius: 5px;
	font-size: var(--wp--preset--font-size--small);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
	appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------------------------------------------- */

/* Code
--------------------------------------------- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* Group
--------------------------------------------- */

.wp-block-group.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-group.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--shadow);
}

/* Image
--------------------------------------------- */

.wp-block-image.is-style-shadow-light img {
	box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-image.is-style-shadow-solid img {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* List
--------------------------------------------- */

.is-style-no-disc {
	list-style-type: none;
	padding-left: 0;
}

/* Navigation
--------------------------------------------- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-bottom: 30px;
	padding-top: 30px
}

/* Navigation Submenu
--------------------------------------------- */



/* Quote
--------------------------------------------- */

.wp-block-quote.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-quote.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (max-width: 600px) {

	/* Utility
	--------------------------------------------- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* Columns
	--------------------------------------------- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}

@media only screen and (min-width: 600px) {

	/* Navigation Link
	--------------------------------------------- */

	.wp-block-navigation-item.is-style-outline a {
		border: 1px solid currentColor;
		padding: 8px 15px;
	}

}

body.has-sidebar {
    margin-right: 350px;
    transition: margin-right 0.3s ease;
}

body.sidebar-collapsed {
    margin-right: 0;
}

.speaker-notes-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 350px;
    height: 100vh;
    background: var(--wp--preset--color--design);
    color: var(--wp--preset--color--beige);
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    /* box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3); */
    font-family: var(--wp--preset--font-family--primary);
}

.speaker-notes-sidebar.collapsed {
    transform: translateX(350px);
}

.notes-toggle {
    position: absolute;
    left: -45px;
    top: 20px;
    width: 45px;
    height: 45px;
    color: var(--wp--preset--color--beige);
	background-color: var(--wp--preset--color--design);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--wp--preset--font-size--body);
    transition: all 0.2s ease;
    /* border-radius: 8px 0 0 8px; */
    /* box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3); */
}

.notes-toggle:hover {
    opacity: 0.8; 
}

.speaker-notes-sidebar.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.toggle-icon {
    transition: transform 0.3s ease;
    display: block;
	font-family: var(--wp--preset--font-family--primary);
}

.notes-content {
    padding: 30px 25px;
    overflow-y: auto;
    flex: 1;
}

.notes-content {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.notes-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


.notes-content h3 {
    margin: 0 0 25px 0;
    font-size: 16px;
    font-weight: 600;
    /* border-bottom: 2px solid #333; */
    padding-bottom: 12px;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    color: var(--wp--preset--color--beige);
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.note-item {
    padding: 14px 16px;
    /* background: #2a2a2a; */
    /* border-radius: 8px; */
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 1px solid transparent;
    opacity: 0.5;
}

.note-item:hover {
    /* background: #333; */
    transform: translateX(-3px);
}

.note-item.active {
    /* background: #333; */
    border-left-color: var(--wp--preset--color--beige);
    opacity: 1;
    /* box-shadow: 0 2px 8px rgba(254, 181, 97, 0.2); */
}

/* .note-header {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
} */

.note-item.active .note-header {
    color: var(--wp--preset--color--beige);;
}

.note-text {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
}

.note-text em {
    color: #666;
    font-style: italic;
}

.note-text p {
    margin: 0 0 8px 0;
}

.note-text p:last-child {
    margin-bottom: 0;
}

.speaker-note {
    display: none !important;
}

/* Show in editor */
.editor-styles-wrapper .speaker-note {
    display: block !important;
}

.navigation { 
    position: absolute;
    width: 100%; 
    max-width: 100%;
    top: var(--wp--style--root--padding-left);
}


