/*!
Theme Name: eurodaytrip
Theme URI: https://eurodaytrip.com/
Author: Max Voitsekhovsky
Author URI: https://www.linkedin.com/in/voitsekhovskymax/
Description: Admin Template.
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: eurodaytrip
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

body {
    /* font-family: "Inter", sans-serif; */
}

/* ============================================================
   #trip-content — WYSIWYG / the_content() typography
   ============================================================ */

#trip-content {
    color: #374151;
    line-height: 1.75;
    font-size: 1rem;
}

/* Headings */
#trip-content h1,
#trip-content h2,
#trip-content h3,
#trip-content h4,
#trip-content h5,
#trip-content h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

#trip-content h1 {
    font-size: 2rem;
}

#trip-content h2 {
    font-size: 1.5rem;
}

#trip-content h3 {
    font-size: 1.25rem;
}

#trip-content h4 {
    font-size: 1.125rem;
}

#trip-content h5 {
    font-size: 1rem;
}

#trip-content h6 {
    font-size: 0.875rem;
    color: #6b7280;
}

/* First element should have no top margin */
#trip-content>*:first-child {
    margin-top: 0;
}

/* Paragraphs */
#trip-content p {
    margin-top: 0;
    margin-bottom: 1.25em;
}

/* Links */
#trip-content a {
    color: #16a34a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

#trip-content a:hover {
    color: #15803d;
}

/* Bold & Italic */
#trip-content strong,
#trip-content b {
    font-weight: 700;
    color: #111827;
}

#trip-content em,
#trip-content i {
    font-style: italic;
}

/* Lists */
#trip-content ul,
#trip-content ol {
    margin-top: 0;
    margin-bottom: 1.25em;
    padding-left: 1.75em;
}

#trip-content ul {
    list-style-type: disc;
}

#trip-content ol {
    list-style-type: decimal;
}

#trip-content li {
    margin-bottom: 0.4em;
}

#trip-content li>ul,
#trip-content li>ol {
    margin-top: 0.4em;
    margin-bottom: 0;
}

/* Blockquote */
#trip-content blockquote {
    border-left: 4px solid #16a34a;
    margin: 1.5em 0;
    padding: 0.75em 1.25em;
    background: #f0fdf4;
    border-radius: 0 0.375rem 0.375rem 0;
    color: #374151;
    font-style: italic;
}

#trip-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Horizontal rule */
#trip-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2em 0;
}

/* Images */
#trip-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1em 0;
}

/* Inline code */
#trip-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.875em;
    background: #f3f4f6;
    color: #be185d;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
}

/* Code block */
#trip-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.25em 1.5em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 0.875em;
    line-height: 1.6;
}

#trip-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* Tables */
#trip-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9375rem;
}

#trip-content th,
#trip-content td {
    text-align: left;
    padding: 0.625em 0.875em;
    border: 1px solid #e5e7eb;
}

#trip-content th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

#trip-content tr:nth-child(even) td {
    background: #f9fafb;
}

/* WordPress alignment helpers */
#trip-content .alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

#trip-content .alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

#trip-content .aligncenter {
    display: block;
    margin: 1em auto;
}

#trip-content .alignnone {
    display: block;
}

/* ============================================================
   #blog-helpers — Blog specific utilities
   ============================================================ */

/* Aspect ratio helper */
.aspect-w-16 {
    aspect-ratio: 16/9;
}

/* Line clamp helpers */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Breadcrumbs styling */
nav[aria-label="Breadcrumb"] a {
    text-decoration: none;
}

/* Page links navigation styling */
.page-links a {
    text-decoration: none;
}

.page-links .current {
    background: #000000;
    color: white;
}

/* ============================================================
   #comments — Comment form and list styling
   ============================================================ */

/* Comment form fields */
.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: transparent;
    ring: 2px;
    ring-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.comment-form .required {
    color: #ef4444;
}

.comment-respond {
    margin-top: 2rem;
}


/* ============================================================
   #page-content-wrapper — WYSIWYG / the_content() typography
   ============================================================ */

#page-content-wrapper {
    color: #374151;
    line-height: 1.75;
    font-size: 1rem;
}

/* Headings */
#page-content-wrapper h1,
#page-content-wrapper h2,
#page-content-wrapper h3,
#page-content-wrapper h4,
#page-content-wrapper h5,
#page-content-wrapper h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

#page-content-wrapper h1 {
    font-size: 2rem;
}

#page-content-wrapper h2 {
    font-size: 1.5rem;
}

#page-content-wrapper h3 {
    font-size: 1.25rem;
}

#page-content-wrapper h4 {
    font-size: 1.125rem;
}

#page-content-wrapper h5 {
    font-size: 1rem;
}

#page-content-wrapper h6 {
    font-size: 0.875rem;
    color: #6b7280;
}

/* First element should have no top margin */
#page-content-wrapper>*:first-child {
    margin-top: 0;
}

/* Paragraphs */
#page-content-wrapper p {
    margin-top: 0;
    margin-bottom: 1.25em;
}

/* Links */
#page-content-wrapper a {
    color: #16a34a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

#page-content-wrapper a:hover {
    color: #15803d;
}

/* Bold & Italic */
#page-content-wrapper strong,
#page-content-wrapper b {
    font-weight: 700;
    color: #111827;
}

#page-content-wrapper em,
#page-content-wrapper i {
    font-style: italic;
}

/* Lists */
#page-content-wrapper ul,
#page-content-wrapper ol {
    margin-top: 0;
    margin-bottom: 1.25em;
    padding-left: 1.75em;
}

#page-content-wrapper ul {
    list-style-type: disc;
}

#page-content-wrapper ol {
    list-style-type: decimal;
}

#page-content-wrapper li {
    margin-bottom: 0.4em;
}

#page-content-wrapper li>ul,
#page-content-wrapper li>ol {
    margin-top: 0.4em;
    margin-bottom: 0;
}

/* Blockquote */
#page-content-wrapper blockquote {
    border-left: 4px solid #16a34a;
    margin: 1.5em 0;
    padding: 0.75em 1.25em;
    background: #f0fdf4;
    border-radius: 0 0.375rem 0.375rem 0;
    color: #374151;
    font-style: italic;
}

#page-content-wrapper blockquote p:last-child {
    margin-bottom: 0;
}

/* Horizontal rule */
#page-content-wrapper hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2em 0;
}

/* Images */
#page-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1em 0;
}

/* Inline code */
#page-content-wrapper code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.875em;
    background: #f3f4f6;
    color: #be185d;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
}

/* Code block */
#page-content-wrapper pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.25em 1.5em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 0.875em;
    line-height: 1.6;
}

#page-content-wrapper pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* Tables */
#page-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9375rem;
}

#page-content-wrapper th,
#page-content-wrapper td {
    text-align: left;
    padding: 0.625em 0.875em;
    border: 1px solid #e5e7eb;
}

#page-content-wrapper th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

#page-content-wrapper tr:nth-child(even) td {
    background: #f9fafb;
}

/* WordPress alignment helpers */
#page-content-wrapper .alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

#page-content-wrapper .alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

#page-content-wrapper .aligncenter {
    display: block;
    margin: 1em auto;
}

#page-content-wrapper .alignnone {
    display: block;
}
