/*
Theme Name: Inverted PM
Theme URI: https://invertedproduct.com
Author: Inverted Product
Author URI: https://invertedproduct.com
Description: A modern WordPress theme for product managers in security, privacy, and infrastructure. Features a vibrant pink/teal gradient design with blog functionality.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inverted-pm
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-pink-light: #FFB88C;
    --color-pink-dark: #FF6B9D;
    --color-teal-dark: #1A5F7A;
    --color-teal-light: #2A7F9A;
    --color-white: #FFFFFF;
    --color-yellow: #FFD700;
    --color-text-dark: #1A5F7A;
    --color-text-light: #FFFFFF;
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --spacing-unit: 1rem;
}

html {
    min-height: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-dark);
    background: linear-gradient(135deg, var(--color-pink-dark) 0%, var(--color-pink-light) 100%);
    background-image: 
        linear-gradient(135deg, var(--color-pink-dark) 0%, var(--color-pink-light) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.03) 20px,
            rgba(255, 255, 255, 0.03) 40px
        );
    background-attachment: fixed;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Embeds (YouTube, Vimeo, etc.) */
iframe,
embed,
object,
video {
    max-width: 100%;
    height: auto;
}

/* WordPress Embed Wrappers */
.wp-block-embed,
.wp-embed,
.wp-block-embed-youtube,
.wp-block-embed-vimeo {
    max-width: 100%;
    margin: 2rem 0;
}

.wp-block-embed iframe,
.wp-embed iframe,
.wp-block-embed-youtube iframe,
.wp-block-embed-vimeo iframe {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
}

/* Responsive YouTube Container */
.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

/* WordPress Core Styles */
.wp-block-group {
    margin-bottom: var(--spacing-unit);
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

