/*!
Theme Name: alpha omega
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alpha-omega
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

alpha omega is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Pagination
--------------------------------------------------------------*/

/* Pagination wrapper */
.pagination-wrapper {
	margin-top: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Pagination list */
.pagination-wrapper .page-numbers {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	align-items: center;
}

/* Pagination links */
.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #000;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease;
}

/* Hover state */
.pagination-wrapper .page-numbers a:hover {
	background: #f5f5f5;
	border-color: #000;
	color: #000;
}

/* Current page */
.pagination-wrapper .page-numbers .current {
	background: #000;
	color: #fff;
	border-color: #000;
	font-weight: 600;
}

/* Previous/Next buttons */
.pagination-wrapper .page-numbers .prev,
.pagination-wrapper .page-numbers .next {
	padding: 8px 16px;
	font-weight: 500;
}

/* Dots */
.pagination-wrapper .page-numbers .dots {
	border: none;
	background: transparent;
	cursor: default;
	font-weight: 600;
	color: #999;
}

.pagination-wrapper .page-numbers .dots:hover {
	background: transparent;
	border: none;
}

/* Responsive */
@media (max-width: 768px) {
	.pagination-wrapper .page-numbers a,
	.pagination-wrapper .page-numbers span {
		min-width: 36px;
		height: 36px;
		padding: 6px 10px;
		font-size: 13px;
	}

	.pagination-wrapper .page-numbers {
		gap: 4px;
	}
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
/* Make CF7 wrapper spans invisible to Flexbox/Grid layouts */


/* Optional: Ensure the error message still appears correctly */
.wpcf7-not-valid-tip {
    display: block;
    width: 100%;
    font-size: 12px;
    color: #dc3545; /* Bootstrap Danger Red */
    margin-top: 4px;
}
/* 1. Fix the "One or more fields have an error" box */
.wpcf7-response-output {
	position: absolute;
    margin: 10px 0 0 0 !important; /* Push it below the form */
    border: none !important; /* Remove default ugly border */
    padding-top: 20px !important;
    font-size: 14px;
    width: 100%;
    text-align: left;
}

/* 2. Fix the specific "Please fill out this field" tooltip */
/* We force the wrapper to allow absolute positioning */
.single .wpcf7-form-control-wrap {
    position: static !important;
    display: flex !important;
    min-height: 100%;
}

.single .wpcf7-not-valid-tip {
    position: absolute;
    top: 100%; /* Push it to the bottom of the input */
    left: 0;
    font-size: 12px;
    margin-top: 4px;
    z-index: 10;
    white-space: nowrap;
}

/* 3. Remove the red border CF7 adds to the input on error */
.single .wpcf7-not-valid {
    border-color: #dc3545 !important;
    padding-right: 30px; /* Prevent text overlapping with error icon if you have one */
}
.single .wpcf7-form.single-input-form.sent .wpcf7-response-output{
	 color: green;
}

/*--------------------------------------------------------------
# Newsletter Plugin Style Overrides
--------------------------------------------------------------*/
/* Override Newsletter Plugin form to match single-input-form design */

/* Hide all labels */
.newsletter-form-wrapper .tnp-field-email label,
.newsletter-form-wrapper .tnp-field-button label {
    display: none !important;
}

/* Email field wrapper */
.newsletter-form-wrapper .tnp-field.tnp-field-email {
    flex: 1 1 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Email input */
.newsletter-form-wrapper .tnp-email {
    width: 100% !important;
    flex: 1 1 0;
    border: 0 !important;
    padding: 8px 8px 8px 24px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #191B1D !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: 'Work Sans', sans-serif !important;
}

.newsletter-form-wrapper .tnp-email::placeholder {
    color: #667085 !important;
    opacity: 1 !important;
}

.newsletter-form-wrapper .tnp-email:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Autofill styling */
.newsletter-form-wrapper .tnp-email:-webkit-autofill,
.newsletter-form-wrapper .tnp-email:-webkit-autofill:hover,
.newsletter-form-wrapper .tnp-email:-webkit-autofill:focus {
    -webkit-text-fill-color: #191B1D !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Button wrapper */
.newsletter-form-wrapper .tnp-field.tnp-field-button {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    border: 0 !important;
}

/* Success/Error messages */
.newsletter-form-wrapper .tnp-message,
.newsletter-form-wrapper .tnp-subscription-result,
.newsletter-form-wrapper .tnp-error {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    border: 0 !important;
    animation: slideDown 0.3s ease-out !important;
    transition: opacity 0.3s ease !important;
}

/* Success message styling */
.newsletter-form-wrapper .tnp-subscription-result {
    display: block !important;
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    border-left: 4px solid #2e7d32 !important;
}

/* Error message styling */
.newsletter-form-wrapper .tnp-error {
    background-color: #ffebee !important;
    color: #d32f2f !important;
    border-left: 4px solid #d32f2f !important;
}

/* Slide down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AJAX submission messages */
.newsletter-form-wrapper .tnp-ajax-message {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    animation: slideDown 0.3s ease-out !important;
    transition: opacity 0.3s ease !important;
}

.newsletter-form-wrapper .tnp-ajax-success {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    border-left: 4px solid #2e7d32 !important;
}

.newsletter-form-wrapper .tnp-ajax-error {
    background-color: #ffebee !important;
    color: #d32f2f !important;
    border-left: 4px solid #d32f2f !important;
}

/*--------------------------------------------------------------
# Contact Form 7 Custom Styles
--------------------------------------------------------------*/
/* Contact Form 7 wrapper - reset default styles */
.contact-form-wrapper .wpcf7 {
    margin: 0;
}

/* Contact Form 7 form element - apply contact-form styles */
.contact-form-wrapper .wpcf7-form {
    background-color: var(--color-white);
    border: 1px solid #D7E6E3;
    border-radius: 20px;
    box-shadow: 0 36px 92px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}

/* Make sure the contact-form-wrapper itself doesn't add extra spacing */
.contact-form-wrapper {
    flex: 1;
    max-width: 100%;
}

@media (min-width: 992px) {
    .contact-form-wrapper {
        max-width: 524px;
    }
}

/* Hide CF7 spinner */
.contact-form-wrapper .wpcf7-spinner {
    display: none;
}

/* Hide CF7 response output - we handle success message via JavaScript */
.contact-form-wrapper .wpcf7-response-output {
    display: none !important;
}

/* Hide screen reader response */
.contact-form-wrapper .screen-reader-response {
    display: none;
}

/* Submit button with arrow icon */
.contact-form-wrapper .wpcf7-submit {
    position: relative;
    padding-right: 56px;
}

.contact-form-wrapper .wpcf7-submit::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('wp-content/themes/alpha-omega/assets/images/right-arrow-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.contact-form-wrapper .wpcf7-submit:hover::after {
    transform: translateY(-50%) translateX(4px);
}
.tnp-field.tnp-field-email {
    position: static !important;
    display: flex !important;
    min-height: 100%;
}
.page-id-1164 .partners-sec {
    display: none;
}
