/*
Theme Name: Rex
Theme URI: https://beginnersbox.com
Description: A minimal Genesis child theme for beginnersbox.com
Author: Sourabh Verma
Author URI: https://beginnersbox.com
Template: genesis
Version: 1.0.0
License: GPL-2.0-or-later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rex
*/

/* Skip Links */
.genesis-skip-link .skip-link-hidden {
    display: none;
    visibility: hidden;
}

.genesis-skip-link li {
    height: 0;
    list-style: none;
    width: 0;
}

.genesis-skip-link a {
    background: #fff;
    border: 1px solid #ccc;
    color: #222;
    display: block;
    font-size: 14px;
    font-weight: 600;
    left: 6px;
    line-height: 1;
    padding: 15px 23px 14px;
    position: absolute;
    top: -1000px;
    text-decoration: none;
    z-index: 100000;
}

.genesis-skip-link a:focus {
    top: 6px;
    outline: #ccc solid 1px;
}

/* Display outline on focus */
:focus {
    color: #222;
    outline: #ccc solid 1px;
}

/* HTML5 Reset
---------------------------------------------------------------------------- */

/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
---------------------------------------------------------------------------- */
/* stylelint-disable */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:32px;margin:10.72px 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:16px}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:16px}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-4px}sup{top:-8px}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:5.6px 12px 10px}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}
/* stylelint-enable */

/* Box Sizing
--------------------------------------------- */

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

/* Float Clearing
--------------------------------------------- */

.author-box::before,
.clearfix::before,
.entry::before,
.entry-content::before,
.footer-widgets::before,
.nav-primary::before,
.nav-secondary::before,
.pagination::before,
.site-container::before,
.site-footer::before,
.site-header::before,
.site-inner::before,
.widget::before,
.wrap::before {
	content: " ";
	display: table;
}

.author-box::after,
.clearfix::after,
.entry::after,
.entry-content::after,
.footer-widgets::after,
.nav-primary::after,
.nav-secondary::after,
.pagination::after,
.site-container::after,
.site-footer::after,
.site-header::after,
.site-inner::after,
.widget::after,
.wrap::after {
	clear: both;
	content: " ";
	display: table;
}


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

/* Typographical Elements
--------------------------------------------- */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/Source-Sans-3-Normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/Source-Sans-3-Italics.woff2') format('woff2');
}

html {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body {
	background-color: #f4f4f4;
	color: #222;
	font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	overflow-x: hidden;
}

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

a {
	color: #ff6200;
	text-decoration: none;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

a:focus,
a:hover {
	color: #222;
	text-decoration: underline;
}

p {
	margin: 0 0 24px;
	padding: 0;
}

ol,
ul {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

hr {
	border: 0;
	border-collapse: collapse;
	border-bottom: 1px solid currentColor;
	clear: both;
	color: #cfd8dc;
	margin: 26px auto;
}

b,
strong {
	font-weight: 600;
}

blockquote,
cite,
em,
i {
	font-style: italic;
}

mark {
	background: #ddd;
	color: #222;
}

blockquote {
	border-left: 5px solid #ff6200;
	margin: 35px 0;
	padding-left: 20px;
}

blockquote p:last-of-type {
	margin-bottom: 0;
}

/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 10px;
}

h1 {
	font-size: 24px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 19px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 23px;
}

.entry-content h3 {
	letter-spacing: 0.04em;
}

.entry-content h4 {
	margin-top: 40px;
}

.single-post .entry-header {
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
}

.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6 {
	position: relative;
	padding-bottom: 5px;
	border-bottom: 2px solid #ff6200;
	margin-bottom: 10px;
}

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: top;
	border-radius: 8px;
}

figure {
	margin: 0;
}

/* Gallery
--------------------------------------------- */

.gallery {
	overflow: hidden;
}

.gallery img {
	border: 1px solid #cfd8dc;
	height: auto;
	padding: 4px;
	transition: border 0.2s ease-in-out;
}

.gallery img:focus,
.gallery img:hover {
	border: 1px solid #999;
	outline: none;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 17%;
}

.gallery-columns-7 .gallery-item {
	width: 14%;
}

.gallery-columns-8 .gallery-item {
	width: 13%;
}

.gallery-columns-9 .gallery-item {
	width: 11%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
	clear: left;
}

.gallery-item {
	float: left;
	margin: 0 0 30px;
	text-align: center;
}

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

input,
select,
textarea {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	color: #222;
	font-size: 16px;
	font-weight: 400;
	padding: 15px;
	width: 100%;
}

input:focus,
textarea:focus {
	border: 1px solid #999;
	outline: none;
}

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

:-ms-input-placeholder {
	color: #222;
	opacity: 1;
}

::placeholder {
	color: #222;
	opacity: 1;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.site-container div.wpforms-container-full .wpforms-form input[type="submit"],
.site-container div.wpforms-container-full .wpforms-form button[type="submit"],
.button {
	background-color: #222;
	border: 0;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	padding: 15px 30px;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: auto;
}

button:focus,
button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
.button:focus,
.button:hover {
	background-color: #ff6200;
	border-width: 0;
	color: #fff;
}

.entry-content .button:focus,
.entry-content .button:hover {
	color: #fff;
}

.button {
	display: inline-block;
}

.site-container button:disabled,
.site-container button:disabled:hover,
.site-container input:disabled,
.site-container input:disabled:hover,
.site-container input[type="button"]:disabled,
.site-container input[type="button"]:disabled:hover,
.site-container input[type="reset"]:disabled,
.site-container input[type="reset"]:disabled:hover,
.site-container input[type="submit"]:disabled,
.site-container input[type="submit"]:disabled:hover {
	background-color: #cfd8dc;
	border-width: 0;
	color: #777;
	cursor: not-allowed;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display: none;
}

/* Tables
--------------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 40px;
	width: 100%;
}

tbody {
	border-bottom: 1px solid #cfd8dc;
}

td,
th {
	line-height: 2;
	text-align: left;
	vertical-align: top;
}

td {
	padding: 8px;
}

tr {
	border-top: 1px solid #cfd8dc;
}

th {
	font-weight: 600;
	padding: 8px;
}

/* Screen Reader Text
--------------------------------------------- */

.screen-reader-shortcut,
.screen-reader-text,
.screen-reader-text span {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.widget_search input[type="submit"]:focus {
	background: #fff;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #222;
	display: block;
	font-size: 16px;
	font-weight: 600;
	height: auto;
	padding: 15px 23px 14px;
	text-decoration: none;
	width: auto;
	z-index: 100000;
}

.more-link {
	font-weight: 600;
	display: inline-block;
	position: relative;
	margin-bottom: 30px;
}


/* Structure and Layout
---------------------------------------------------------------------------- */

/* Site Container
--------------------------------------------- */

.site-container {
	word-wrap: break-word;
}

/* Site Inner
--------------------------------------------- */

.site-inner {
	clear: both;
	margin: 0 auto;
	padding: 50px 10px 0;
}


/* Common Classes
---------------------------------------------------------------------------- */

/* Avatar
--------------------------------------------- */

.avatar {
	border-radius: 50%;
	float: left;
	margin: 10px;
	width: 100px;
	height: 100px;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 2px 15px rgba(0,0,0,0.1);
	margin: 0 auto 5px;
	display: block;
}

.author-box .avatar,
.alignleft .avatar {
	margin-right: 20px;
}

.alignright .avatar {
	margin-left: 20px;
}

.comment .avatar {
	margin: 0 15px 20px 0;
}

/* Genesis
--------------------------------------------- */

.after-entry,
.archive-description,
.author-box {
	margin-bottom: 40px;
}

.after-entry {
	padding: 20px 30px;
}

.after-entry .widget:last-of-type {
	margin-bottom: 0;
}

.breadcrumb {
	font-size: 14px;
}

.genesis-title-hidden .breadcrumb {
	margin-top: 40px;
}

.archive-description p:last-child,
.author-box p:last-child {
	margin-bottom: 0;
}

/* Search Form
--------------------------------------------- */

.search-form {
	overflow: hidden;
}

.entry-content .search-form {
	margin-bottom: 40px;
	width: 50%;
}

.post-password-form input[type="submit"],
.search-form input[type="submit"] {
	margin-top: 0;
}

.widget_search input[type="submit"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Titles
--------------------------------------------- */

.archive-description .entry-title,
.archive-title,
.author-box-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}

.entry-title {
	margin: 10px 0;
	font-weight: 600;
}

.entry-title a,
.sidebar .widget-title a {
	color: #222;
	text-decoration: none;
}

.entry-title a:focus,
.entry-title a:hover {
	color: #ff6200;
}

.widget-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
}

.genesis-title-hidden .site-inner {
	padding-top: 0;
}

/* Solid line after widget title */
.sidebar .widget-title {
	display: flex;
	align-items: center;
	border-bottom: none;
	margin-bottom: 15px;
}

.sidebar .widget-title:after {
	content: "";
	flex: 1;
	height: 2px;
	background: #ff6200;
	margin-left: 15px;
}

/* WordPress
--------------------------------------------- */

a.aligncenter img {
	display: block;
	margin: 0 auto;
}

a.alignnone {
	display: inline-block;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
	max-width: 100%;
}

img.centered,
.aligncenter,
.singular-image {
	display: block;
	margin: 0 auto 30px;
}

img.alignnone,
.alignnone {
	margin-bottom: 15px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
	margin: 0 20px 20px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
	margin: 0 0 20px 20px;
}

figcaption,
.gallery-caption,
.wp-caption-text {
	font-size: 14px;
	font-weight: 600;
	margin-top: 8px;
	margin-bottom: 16px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

.entry-content p.wp-caption-text {
	margin-bottom: 0;
}

.entry-content .wp-audio-shortcode,
.entry-content .wp-playlist,
.entry-content .wp-video {
	margin: 0 0 30px;
}


/* Widgets
---------------------------------------------------------------------------- */

.widget {
	margin-bottom: 40px;
}

.widget p:last-child,
.widget ul > li:last-of-type {
	margin-bottom: 0;
}

.widget ul > li {
	margin-bottom: 10px;
}

.widget ul > li:last-of-type {
	padding-bottom: 0;
}

.widget ol > li {
	list-style-position: inside;
	list-style-type: decimal;
	padding-left: 20px;
	text-indent: -20px;
}

.widget li li {
	border: 0;
	margin: 0 0 0 30px;
	padding: 0;
}

.widget_calendar table {
	width: 100%;
}

.widget_calendar td,
.widget_calendar th {
	text-align: center;
}

/* Featured Content
--------------------------------------------- */

.featured-content .entry {
	border-bottom: 1px solid #cfd8dc;
	margin-bottom: 20px;
}

.featured-content .entry:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
}

.featured-content .entry-title {
	font-size: 16px;
	margin-bottom: 5px;
	margin-top: 10px;
}

/* Site Header
---------------------------------------------------------------------------- */

.site-header {
	background-color: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	border-top: 2px solid #ff6200;
	padding: 0 20px;
	position: relative !important;
	top: auto !important;
	z-index: 9999;
}

.admin-bar .site-header {
	top: auto !important;
}

/* Title Area
--------------------------------------------- */

.title-area {
	float: left;
	padding-bottom: 15px;
	padding-top: 15px;
}

.wp-custom-logo .title-area {
	max-width: 350px;
	padding-bottom: 5px;
	padding-top: 5px;
	width: 100%;
}

.wp-custom-logo .custom-logo-link {
	display: block;
}

.wp-custom-logo .title-area img {
	width: auto;
}

.site-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0;
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
	color: #222;
	text-decoration: none;
}

.site-description,
.wp-custom-logo .site-title {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Footer Menu Styles - Horizontal Layout */
.site-footer .footer-menu-container {
    width: 100%;
    padding: 5px 0 0 0;
}

.site-footer .footer-navigation {
    text-align: center;
}

.site-footer .footer-menu {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.site-footer .footer-menu li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.site-footer .footer-menu a {
    text-decoration: none;
    font-size: 15px;
    padding: 5px 10px;
    transition: color 0.3s ease;
    display: inline-block;
	font-weight: 600;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus {
    color: #222;
}

/* Footer credits styling */
.site-footer .footer-credits {
    text-align: center;
    margin-bottom: 0;
}

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

.genesis-nav-menu {
	clear: both;
	line-height: 1;
	width: 100%;
}

.genesis-nav-menu .menu-item {
	display: block;
	float: none;
	position: relative;
}

.genesis-nav-menu a {
	color: #222;
	display: block;
	font-size: 15px;
	font-weight: 600;
	outline-offset: -1px;
	padding-bottom: 10px;
	padding-top: 10px;
	text-decoration: none;
}

.genesis-nav-menu a:focus,
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:focus,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
	color: #ff6200;
	text-decoration: none;
}

.genesis-nav-menu .sub-menu,
.genesis-nav-menu .sub-menu a {
	width: 100%;
}

.genesis-nav-menu .sub-menu {
	clear: both;
	display: none;
	left: -9999px;
	margin: 0;
	opacity: 1;
	padding-left: 15px;
	position: static;
	z-index: 99;
}

.genesis-nav-menu .sub-menu a {
	background-color: #fff;
	font-size: 13px;
	position: relative;
	word-wrap: break-word;
}

.genesis-nav-menu .menu-item:focus,
.genesis-nav-menu .menu-item:hover {
	position: relative;
}

/* FASTER SUBMENU TRANSITION - Reduced from 0.1s to 0.05s */
.genesis-nav-menu .menu-item:hover > .sub-menu {
	display: block;
	left: auto;
	opacity: 1;
	transition: opacity 0.05s ease-in-out; /* Faster transition */
}

/* Header Menu
--------------------------------------------- */

.nav-primary {
	clear: left;
	padding-bottom: 10px;
	padding-top: 10px;
	width: 100%;
	text-align: left;
}

/* Footer Menu
--------------------------------------------- */

.nav-secondary {
	margin-top: 10px;
}

.nav-secondary .genesis-nav-menu {
	line-height: 1.5;
}

.nav-secondary .menu-item {
	display: inline-block;
}

.nav-secondary a {
	margin-left: 10px;
	margin-right: 10px;
	padding: 0;
}


/* Content Area
---------------------------------------------------------------------------- */

.entry {
	margin-bottom: 40px;
	border-radius: 15px;
	padding: 20px;
	border: 1px solid #ddd;
	background-color: #fff;
}

.entry-content ol,
.entry-content ul {
	margin-bottom: 30px;
	padding-left: 40px;
}

.entry-content ol > li {
	list-style-type: decimal;
}

.entry-content ul > li {
	list-style-type: disc;
}

.entry-content ol ul > li,
.entry-content ul ul > li {
	list-style-type: circle;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.entry-content code {
	background-color: #f5f5f5;
	padding: 15px;
	margin: 5px;
	color: #222;
	border-radius: 8px;
	font-size: 14px;
	border: 2px solid #bbb;
}

.wp-block-preformatted {
	background-color: #f5f5f5;
	padding: 15px;
	margin: 10px;
	color: #222;
	border-radius: 8px;
	font-size: 14px;
	border: 2px solid #bbb;
}

.content .sticky {
	background-color: #f5f5f5;
	padding: 30px;
}

/* Entry Meta
--------------------------------------------- */

p.entry-meta {
	font-size: 14px;
	margin-bottom: 0;
}

.entry-header .entry-meta {
	margin-bottom: 10px;
}

.entry-footer .entry-meta {
	border-top: 1px solid #ddd;
	padding-top: 20px;
}

.entry-categories,
.entry-tags {
	display: block;
}

.entry-comments-link::before {
	content: "\2014";
	margin: 0 6px 0 2px;
}

/* Pagination
--------------------------------------------- */

.pagination {
	clear: both;
	margin: 60px 0;
}

.adjacent-entry-pagination {
	margin-bottom: 0;
}

.archive-pagination li {
	display: inline;
}

.archive-pagination li a {
	background-color: #f5f5f5;
	color: #222;
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 4px;
	padding: 8px 12px;
	text-decoration: none;
}

.archive-pagination li a:focus,
.archive-pagination li a:hover,
.archive-pagination li.active a {
	background-color: #222;
	color: #fff;
}

/* Entry Comments
--------------------------------------------- */

.comment-respond,
.entry-comments,
.entry-pings {
	margin-bottom: 40px;
	border-radius: 15px;
	padding: 20px;
	background-color: #fff;
}

/* Add orange focus effects to comment form */
.comment-respond input:focus,
.comment-respond textarea:focus {
    border-color: #ff6200;
    outline: none;
}

.comment-respond input[type="submit"]:focus,
.comment-respond input[type="submit"]:hover {
    background-color: #ff6200;
}

.comment-respond h3 {
    border-bottom: 2px solid #ff6200;
    padding-bottom: 5px;
}

.comment-list li {
	padding: 40px 0 0 30px;
}

.comment-list .depth-1 {
	padding-left: 0;
}

.comment-header {
	margin-bottom: 30px;
}

.comment-content {
	clear: both;
}

.comment-content ul > li {
	list-style-type: disc;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
	width: 50%;
}

.comment-respond label {
	display: block;
	margin-right: 12px;
}

.comment-header p {
	margin-bottom: 0;
}

.entry-pings .reply {
	display: none;
}

.comment-form-cookies-consent label {
	display: inline;
	padding-left: 10px;
}

/* Sidebar
---------------------------------------------------------------------------- */

.sidebar {
	font-size: 15px;
	line-height: 1.5;
	border: 1px solid #ddd;
	border-radius: 15px;
	padding: 20px;
	margin-bottom: 20px;
	background-color: #fff;
}

.sidebar .widget {
	margin-bottom: 40px;
}

.sidebar p {
	margin-bottom: 20px;
}

/* Footer Widgets
---------------------------------------------------------------------------- */

.footer-widgets {
	border-top: 1px solid #cfd8dc;
	background-color: #fff;
	clear: both;
	padding: 60px 0;
}

.footer-widgets .wrap {
	margin-left: auto;
	margin-right: auto;
}

.footer-widget-area {
	margin-bottom: 40px;
	padding-left: 30px;
	padding-right: 30px;
}

.footer-widget-area:last-child,
.footer-widgets .widget:last-child {
	margin-bottom: 0;
}


/* Site Footer
---------------------------------------------------------------------------- */

.site-footer {
	background-color: #fff;
	border-top: 1px solid #cfd8dc;
	font-size: 15px;
	line-height: 1.5;
	padding: 20px;
	text-align: center;
}

.site-footer p {
	margin-bottom: 0;
}

/* Search field styling */
.search-icon-item {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	align-self: center;
	display: flex;
	justify-content: center;
}

.custom-search-form {
	display: block;
	width: 100%;
}

.search-form-wrapper {
	display: flex;
	align-items: center;
	width: 200px;
	position: relative;
	margin: 0 auto;
}

.search-form-input {
	flex: 1;
	padding: 8px 12px;
	padding-right: 40px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
	min-width: 0;
	background: #f5f5f5;
	height: 36px;
	box-sizing: border-box;
	color: #222;
}

.search-form-input::placeholder {
	color: #999;
	opacity: 1;
}

.search-form-input:focus {
	outline: none;
	border-color: #ff6200;
}

.search-form-input:focus::placeholder {
	color: #ccc;
}

.search-form-submit {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	background: transparent !important;
	border: none;
	cursor: pointer;
	color: #222;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.search-form-submit:hover {
	background: transparent !important;
	color: #ff6200;
}

.search-form-submit:focus,
.search-form-submit:active {
	background: transparent !important;
	color: #222;
}

/* SVG Search Icons - 14x14 pixels with 1px stroke width */
.search-form-submit svg {
	width: 16px;
	height: 16px;
	transition: color 0.2s ease-in-out;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1px; /* Set to 1px as requested */
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Social sharing and follow buttons styling */
.social-sharing-buttons,
.social-follow-buttons {
	margin: 15px 0;
	text-align: left;
	width: 100%;
}

.social-sharing-buttons.above-post {
	margin-bottom: 10px;
	padding-bottom: 15px;
}

.social-sharing-buttons.below-post {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #ddd;
}

.share-buttons-container,
.social-follow-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Base button styles */
.share-button,
.follow-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background-color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* SVG Icon styles */
.share-button svg,
.follow-button svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	transition: fill 0.3s ease;
}

/* Platform-specific colors - Applied to both share and follow buttons */
.share-button.facebook,
.follow-button.facebook {
	color: #1877f2;
	border-color: rgba(24, 119, 242, 0.3);
}

.share-button.twitter,
.follow-button.twitter {
	color: #1da1f2;
	border-color: rgba(29, 161, 242, 0.3);
}

.share-button.linkedin,
.follow-button.linkedin {
	color: #0a66c2;
	border-color: rgba(10, 102, 194, 0.3);
}

.share-button.reddit,
.follow-button.reddit {
	color: #ff4500;
	border-color: rgba(255, 69, 0, 0.3);
}

.share-button.whatsapp,
.follow-button.whatsapp {
	color: #25d366;
	border-color: rgba(37, 211, 102, 0.3);
}

.share-button.email,
.follow-button.email {
	color: #ea4335;
	border-color: rgba(234, 67, 53, 0.3);
}

.share-button.pinterest,
.follow-button.pinterest {
	color: #e60023;
	border-color: rgba(230, 0, 35, 0.3);
}

.share-button.instagram,
.follow-button.instagram {
	color: #e1306c;
	border-color: rgba(225, 48, 108, 0.3);
}

.share-button.youtube,
.follow-button.youtube {
	color: #ff0000;
	border-color: rgba(255, 0, 0, 0.3);
}

.share-button.telegram,
.follow-button.telegram {
	color: #0088cc;
	border-color: rgba(0, 136, 204, 0.3);
}

.share-button.threads,
.follow-button.threads {
	color: #000000;
	border-color: rgba(0, 0, 0, 0.3);
}

.share-button.rss,
.follow-button.rss {
	color: #ffa500;
	border-color: rgba(255, 165, 0, 0.3);
}

/* Hover states for all platforms - INDIVIDUAL COLORS */
.share-button.facebook:hover,
.follow-button.facebook:hover {
	background-color: #1877f2;
	border-color: #1877f2;
	color: #fff !important;
}

.share-button.twitter:hover,
.follow-button.twitter:hover {
	background-color: #1da1f2;
	border-color: #1da1f2;
	color: #fff !important;
}

.share-button.linkedin:hover,
.follow-button.linkedin:hover {
	background-color: #0a66c2;
	border-color: #0a66c2;
	color: #fff !important;
}

.share-button.reddit:hover,
.follow-button.reddit:hover {
	background-color: #ff4500;
	border-color: #ff4500;
	color: #fff !important;
}

.share-button.whatsapp:hover,
.follow-button.whatsapp:hover {
	background-color: #25d366;
	border-color: #25d366;
	color: #fff !important;
}

.share-button.email:hover,
.follow-button.email:hover {
	background-color: #ea4335;
	border-color: #ea4335;
	color: #fff !important;
}

.share-button.pinterest:hover,
.follow-button.pinterest:hover {
	background-color: #e60023;
	border-color: #e60023;
	color: #fff !important;
}

.share-button.instagram:hover,
.follow-button.instagram:hover {
	background-color: #e1306c;
	border-color: #e1306c;
	color: #fff !important;
}

.share-button.youtube:hover,
.follow-button.youtube:hover {
	background-color: #ff0000;
	border-color: #ff0000;
	color: #fff !important;
}

.share-button.telegram:hover,
.follow-button.telegram:hover {
	background-color: #0088cc;
	border-color: #0088cc;
	color: #fff !important;
}

.share-button.threads:hover,
.follow-button.threads:hover {
	background-color: #000000;
	border-color: #000000;
	color: #fff !important;
}

.share-button.rss:hover,
.follow-button.rss:hover {
	background-color: #ffa500;
	border-color: #ffa500;
	color: #fff !important;
}

/* Common hover effects */
.share-button:hover,
.follow-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	text-decoration: none;
}

/* Ensure SVG icons maintain colors on hover */
.share-button:hover svg,
.follow-button:hover svg {
	fill: #fff !important;
}

/* Alignment options */
.share-buttons-container.alignment-left,
.social-follow-buttons.alignment-left {
	justify-content: flex-start;
}

.share-buttons-container.alignment-center,
.social-follow-buttons.alignment-center {
	justify-content: center;
}

.share-buttons-container.alignment-right,
.social-follow-buttons.alignment-right {
	justify-content: flex-end;
}

/* ==========================================================================
   MEDIA QUERIES - Consolidated and organized by breakpoint
   ========================================================================== */

/* 480px and up */
@media only screen and (min-width: 480px) {
	table {
		table-layout: auto;
		word-break: normal;
	}
}

/* 768px and down */
@media (max-width: 768px) {
    .site-footer .footer-menu {
        gap: 15px;
    }
    
    .site-footer .footer-menu a {
        font-size: 14px;
        padding: 4px 8px;
    }
}

/* 600px and down */
@media (max-width: 600px) {
	.share-buttons-container,
	.social-follow-buttons {
		gap: 6px;
	}
	
	.share-button,
	.follow-button {
		width: 36px;
		height: 36px;
	}
	
	.share-button svg,
	.follow-button svg {
		width: 18px;
		height: 18px;
	}
}

/* 1023px and down - MOBILE STYLES (consolidated from 1024px and 1023px) */
@media (max-width: 1023px) {
	.site-inner {
		clear: both;
		margin: 0px auto;
		padding: 20px 10px 0px;
	}
	
	.site-header {
		background-color: #fff;
		padding: 10px;
	}
	
	.site-header .wrap {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
	}
	
	/* Title Area - Top Left (35% width) */
	.title-area {
		order: 1;
		width: 35%;
		padding: 0;
		margin: 0;
		float: none;
	}
	
	.title-area .site-title {
		margin-bottom: 0;
	}
	
	.title-area .site-title a {
		color: #222;
		text-decoration: none;
		font-size: 18px;
		font-weight: 600;
		line-height: 1.2;
	}
	
	/* Search Container - Top Right (62% width) - FIXED */
	.search-container {
		order: 2;
		width: 62%;
		margin-left: auto;
		display: flex;
		justify-content: flex-end;
	}
	
	.search-container .search-form {
		position: relative;
		max-width: 200px;
		width: 100%;
		margin: 0;
	}
	
	.search-container .search-form-input {
		border: 1px solid #ddd;
		border-radius: 5px;
		display: block;
		font-size: 14px;
		font-weight: 400;
		line-height: 1;
		padding: 8px 35px 8px 12px;
		width: 100%;
		background-color: #f5f5f5;
		-webkit-appearance: none;
		height: 30px;
		box-sizing: border-box;
	}
	
	.search-container .search-form-input:focus {
		border-color: #ff6200;
		outline: none;
		background-color: #fff;
	}
	
	.search-container .search-form-submit {
		background-color: transparent;
		border: 0;
		position: absolute;
		top: 50%;
		right: 8px;
		transform: translateY(-50%);
		text-indent: -9999px;
		z-index: 2;
		height: 24px;
		width: 24px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		margin: 0;
	}
	
	.search-container .search-form-submit:focus,
	.search-container .search-form-submit:hover {
		background-color: transparent;
		transform: translateY(-50%);
	}
	
	.search-container .search-form-submit svg {
		width: 14px;
		height: 14px;
		fill: currentColor;
		stroke-width: 1px;
	}
	
	/* Navigation - Full Width Below, Centered */
	.nav-primary {
		order: 3;
		width: 100%;
		text-align: center;
		padding: 10px 0 0;
		clear: both;
		float: none;
	}
	
	/* Ensure the menu is centered and horizontal */
	.genesis-nav-menu {
		display: inline-flex;
		justify-content: center;
		flex-wrap: nowrap;
		white-space: nowrap;
		padding-bottom: 0;
		padding-top: 5px;
		margin: 0 auto;
		float: none;
		overflow-x: auto;
		border-top: 1px solid #ddd;        
	}
	
	.genesis-nav-menu .menu-item {
		display: inline-block;
		float: none;
	}
	
	.genesis-nav-menu a {
		font-size: 15px;
		font-weight: 600;
		padding: 8px 12px;
		white-space: nowrap;
	}
	
	/* Remove the search form from nav menu on mobile */
	.nav-primary .search-icon-item {
		display: none;
	}
	
	/* Search form responsive adjustments */
	.search-form-wrapper {
		width: 160px;
		margin: 0 auto;
	}
	
	.search-icon-item {
		margin-left: 0;
		margin-right: 0;
		order: 99;
		width: 100%;
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid #ddd;
	}
	
	.search-form-wrapper {
		width: 80%;
		max-width: 240px;
		margin: 0 auto;
	}
	
	.search-form-input {
		height: 40px;
		font-size: 16px;
		padding-right: 45px;
	}
	
	.search-form-submit {
		width: 32px;
		height: 32px;
		right: 7px;
	}
	
	.search-form-submit svg {
		width: 14px;
		height: 14px;
	}
}

/* 992px and up */
@media only screen and (min-width: 992px) {
	body {
		font-size: 17px;
		line-height: 1.7;
	}
	
	blockquote {
		margin: 50px 30px;
	}
	
	h1 {
		font-size: 24px;
	}
	
	h2 {
		font-size: 22px;
	}
	
	h3 {
		font-size: 21px;
	}
	
	h4 {
		font-size: 19px;
	}
	
	h5 {
		font-size: 16px;
	}
	
	h6 {
		font-size: 14px;
	}
	
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"],
	.site-container div.wpforms-container-full .wpforms-form input[type="submit"],
	.site-container div.wpforms-container-full .wpforms-form button[type="submit"],
	.button {
		font-size: 16px !important;
		padding: 12px 20px;
	}
}

/* 1024px and up - DESKTOP STYLES */
@media only screen and (min-width: 1024px) {
	/* Genesis Menu - FASTER DESKTOP SUBMENU - FIXED */
	.genesis-nav-menu .menu-item {
		display: inline-block;
		position: relative; /* Add this for submenu positioning */
	}

	.genesis-nav-menu .menu-item:focus,
	.genesis-nav-menu .menu-item:hover {
		position: relative;
	}

	.genesis-nav-menu > .menu-bold > a {
		font-weight: 600;
	}

	.genesis-nav-menu > .menu-highlight > a {
		background-color: #222;
		border-radius: 3px;
		color: #fff;
		font-weight: 600;
		margin-left: 15px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.genesis-nav-menu > .menu-highlight > a:focus,
	.genesis-nav-menu > .menu-highlight > a:hover {
		background-color: #ff6200;
	}

	/* FIXED SUBMENU POSITIONING */
	.genesis-nav-menu .sub-menu {
		border-top: 1px solid #cfd8dc;
		opacity: 0;
		padding-left: 0;
		position: absolute;
		left: 0;
		top: 100%; /* Position below parent menu item */
		transition: opacity 0.05s ease-in-out;
		z-index: 9999;
		background-color: #fff;
		box-shadow: 0 5px 15px rgba(0,0,0,0.1);
		visibility: hidden;
	}

	.genesis-nav-menu .sub-menu,
	.genesis-nav-menu .sub-menu a {
		width: 180px;
	}

	.genesis-nav-menu .sub-menu a {
		border: 1px solid #cfd8dc;
		border-top: 0;
		padding-bottom: 15px;
		padding-top: 15px;
	}

	.genesis-nav-menu .sub-menu .sub-menu {
		margin: -46px 0 0 179px;
	}

	/* CRITICAL: Show submenu on hover */
	.genesis-nav-menu .menu-item:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
	}

	/* Ensure header doesn't expand */
	.nav-primary {
		overflow: visible; /* Allow submenus to overflow */
	}

	/* Responsive Menu */
	.js .nav-primary {
		display: block;
		padding-top: 10px;
	}

	.menu-toggle,
	.sub-menu-toggle {
		display: none;
		visibility: hidden;
	}

	/* Header Menu */
	.nav-primary {
		clear: none;
		float: right;
		width: auto;
	}

	.nav-primary .genesis-nav-menu a {
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Site-Inner */
	.site-inner {
		max-width: 1380px;
	}

	/* Content */
	.content {
		float: left;
		width: 67%;
	}

	.sidebar-content .content {
		float: right;
	}

	.full-width-content .content {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	/* Sidebar */
	.sidebar {
		float: right;
		width: 30%;
	}

	.sidebar-content .sidebar {
		float: left;
	}

	/* Author Box */
	.author-box {
		background-color: #f5f5f5;
		padding: 30px;
	}

	/* After Entry */
	.after-entry {
		padding: 40px 60px;
	}

	.after-entry .enews {
		padding-left: 30px;
		padding-right: 30px;
	}

	/* Column Classes */
	.five-sixths,
	.four-sixths,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fourths,
	.three-sixths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		float: left;
		margin-left: 2.564102564102564%;
	}

	.one-half,
	.three-sixths,
	.two-fourths {
		width: 48.717948717948715%;
	}

	.one-third,
	.two-sixths {
		width: 31.623931623931625%;
	}

	.four-sixths,
	.two-thirds {
		width: 65.81196581196582%;
	}

	.one-fourth {
		width: 23.076923076923077%;
	}

	.three-fourths {
		width: 74.35897435897436%;
	}

	.one-sixth {
		width: 14.52991452991453%;
	}

	.five-sixths {
		width: 82.90598290598291%;
	}

	.first {
		clear: both;
		margin-left: 0;
	}

	/* Entry Misc. */
	.after-entry,
	.archive-description,
	.author-box,
	.comment-respond,
	.entry,
	.entry-comments,
	.entry-pings {
		margin-bottom: 60px;
	}

	/* Footer Widgets */
	.footer-widgets .wrap {
		max-width: 1140px;
	}

	.footer-widget-area {
		float: left;
		margin-bottom: 0;
		width: calc(100% / 3);
	}

	/* Footer Menu - Consistent with mobile styles */
	.site-footer .nav-secondary .menu li {
		display: inline-block !important;
		float: none !important;
		margin: 0 15px !important;
	}
	
	/* Desktop header layout */
	.site-header {
		display: block;
		padding: 0 20px;
	}
	
	.site-header .wrap {
		display: block;
	}
	
	.title-area {
		float: left;
		padding: 15px 0;
		width: auto;
	}
	
	.nav-primary {
		float: right;
		width: auto;
		clear: none;
		padding-top: 10px;
		margin-top: 0;
		border-top: none;
	}
	
	/* Hide the mobile search container on desktop */
	.search-container {
		display: none;
	}
	
	/* Ensure search in nav menu appears inline on desktop */
	.nav-primary .search-icon-item {
		display: inline-block !important;
		float: left;
		margin: 0;
	}
	
	.nav-primary .custom-search-form {
		display: block;
	}
	
	.nav-primary .search-form-wrapper {
		width: 200px;
		margin: 0;
	}
	
	/* Adjust nav menu items to accommodate search */
	.genesis-nav-menu .menu-item {
		display: inline-block;
		float: left;
	}
	
	.genesis-nav-menu .search-icon-item {
		margin-left: 15px;
	}
	
	.genesis-nav-menu {
		display: block;
		float: right;
	}
}

/* Additional responsive adjustments for smaller screens */
@media (max-width: 480px) {
	.search-icon-item {
		margin-left: 0;
		margin-right: 0;
	}
	
	.search-form-wrapper {
		width: 80%;
		max-width: none;
		margin: 0 auto;
	}
	
	.search-form-input {
		padding: 10px 12px;
		padding-right: 45px;
	}
	
	.search-form-submit {
		width: 30px;
		height: 30px;
		right: 6px;
	}
	
	.search-form-submit svg {
		width: 14px;
		height: 14px;
	}
	
	/* Mobile header adjustments */
	.title-area {
		width: 40%;
	}
	
	.search-container {
		width: 58%;
	}
	
	.search-container .search-form {
		max-width: 160px;
	}
	
	.search-container .search-form-input {
		font-size: 13px;
		padding: 7px 30px 7px 10px;
	}
	
	.site-title {
		font-size: 16px;
	}
	
	.genesis-nav-menu a {
		font-size: 15px;
		padding: 6px 8px;
	}
}

@media (max-width: 360px) {
	.title-area {
		width: 45%;
	}
	
	.search-container {
		width: 53%;
	}
	
	.search-container .search-form {
		max-width: 140px;
	}
	
	.search-container .search-form-input {
		font-size: 12px;
		padding: 6px 28px 6px 8px;
	}
	
	.site-title {
		font-size: 15px;
	}
}

/* Print Styles
---------------------------------------------------------------------------- */

@media print {
	*,
	*::before,
	*::after {
		background: transparent !important;
		box-shadow: none !important;
		color: #222 !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: none;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	a[href^="javascript:"]::after,
	a[href^="#"]::after,
	.site-title > a::after {
		content: "";
	}

	thead {
		display: table-header-group;
	}

	img,
	tr {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 2cm 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	blockquote,
	pre {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	.content,
	.content-sidebar {
		width: 100%;
	}

	button,
	input,
	select,
	textarea,
	.breadcrumb,
	.comment-edit-link,
	.comment-form,
	.comment-list .reply a,
	.comment-reply-title,
	.edit-link,
	.entry-comments-link,
	.entry-footer,
	.genesis-box,
	.header-widget-area,
	.hidden-print,
	.home-top,
	.nav-primary,
	.nav-secondary,
	.post-edit-link,
	.sidebar {
		display: none !important;
	}

	.title-area {
		text-align: center;
		width: 100%;
	}

	.site-title > a {
		margin: 0;
		text-decoration: none;
		text-indent: 0;
	}

	.site-inner {
		padding-top: 0;
		position: relative;
	}

	.author-box {
		margin-bottom: 0;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		orphans: 3;
		page-break-after: avoid;
		page-break-inside: avoid;
		widows: 3;
	}

	img {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	blockquote,
	pre,
	table {
		page-break-inside: avoid;
	}

	dl,
	ol,
	ul {
		page-break-before: avoid;
	}
}

/* =Contact Form Styles
-------------------------------------------------------------- */

.rex-contact-form {
    margin-bottom: 10px;
    padding: 5px;
}

.rex-form-field {
    margin-bottom: 20px;
}

.rex-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.rex-form-field input[type="text"],
.rex-form-field input[type="email"],
.rex-form-field input[type="url"],
.rex-form-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    font-size: 16px;
}

.rex-form-field textarea {
    height: 200px;
    resize: vertical;
}

.rex-form-field input:focus,
.rex-form-field textarea:focus {
    border-color: #ff6200;
    outline: none;
}

.rex-submit-btn {
    background-color: #222;
    border: 0;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.2s ease-in-out;
}

.rex-submit-btn:focus,
.rex-submit-btn:hover {
    background-color: #ff6200;
    color: #fff;
}
.rex-contact-errors {
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rex-contact-errors ul {
    margin: 0;
    padding-left: 20px;
}

.rex-contact-errors li {
    margin-bottom: 5px;
    list-style-type: disc;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rex-contact-success {
    background-color: #d4edda;
    color: #155724;
    padding: 25px;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Required field asterisk */
.rex-form-field label[for]:after {
    content: " *";
    color: #d63638;
}

.rex-form-field label[for="rex_website"]:after {
    content: "";
}

/* Placeholder styling */
.rex-form-field input::placeholder,
.rex-form-field textarea::placeholder {
    color: #222;
    opacity: 1;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rex-form-field input:-ms-input-placeholder,
.rex-form-field textarea:-ms-input-placeholder {
    color: #222;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .rex-contact-form {
        padding: 2px;
        max-width: 100%;
    }
    
    .rex-form-field {
        margin: 15px 0;
    }
    
    .rex-form-field input[type="text"],
    .rex-form-field input[type="email"],
    .rex-form-field input[type="url"],
    .rex-form-field textarea {
        padding: 12px;
        font-size: 16px;
    }
    
    .rex-submit-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

/* Print styles for contact form */
@media print {
    .rex-contact-form {
        display: none;
    }
}