/*
Theme Name: BeMySocial
Text Domain: bemysocial
Version: 1.0
Description: A custom WordPress business theme built for BeMySocial, a UK-based digital marketing agency. Designed for speed, clarity, and professional online presence.
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, responsive-layout, theme-options, translation-ready, marketing, business, agency
Author: Mo Kariem
*/

:root {
    --blue: #2164AE;
    --blue-drak: #0056b3;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #ee3577;
    --red: #dc3545;
    --orange: #f68e62;
    --yellow: #ffc107;
    --green: #46B147;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #767575;
    --gray-dark: #434242;
    --secondary: #4f4f4f;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #c2c2c2;
    --lightgray: #eeeeee;
    --dark: #434242;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    /* Font Sizes */
    --font-normal: 1em;
    --font-small: 0.8125rem;
    /* Sidebar */
    --sidebar-width: 280px;
    --content-max-width: 860px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.main-wrapper {
    flex: 1;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gray-dark);
    font-weight: bold
}

.content {
    flex: 1;
}

footer.footer {
    margin-top: auto;
}

.btn {
    font-weight: bold;
    transition: all 0.4s ease-in-out
}

.page-title .heading{
    display: none;
}

.btn:focus,
.btn.focus {
    box-shadow: none !important
}

.theme-bg-light {
    background: var(--blue) !important
}

.theme-bg-dark {
    background: var(--dark) !important
}

/* Top Header ---------------------------- */
.top-header {
    font-size: 14px;
}
.top-header a {
    transition: color 0.3s ease;
}
.top-header a:hover {
    color: var(--primary);
}

/* Top header chung */
.top-header .container-fluid {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .top-header .container-fluid {
        flex-direction: column;
        text-align: center;
    }

    .top-header .top-left,
    .top-header .top-right {
        width: 100%;
        justify-content: center;
        margin: 3px 0;
    }

    .top-header .top-left span {
        margin: 0 10px;
    }

    .top-header .top-right a {
        margin: 0 8px;
    }
}


/* Header navbar ---------------------------- */
.navbar-nav > li > a {
	color: #fff !important;
	padding: 0.5rem 1rem;
	text-decoration: none;
	display: inline-block;
	position: relative;
	transition: all 0.3s ease;
}

.navbar-nav > li {
	margin-right: 1rem;
    font-size: 1.1rem;
}

.navbar-nav {
	align-items: center;
}

.navbar-nav > li > a::after {
	content: "";
	position: absolute;
	width: 0%;
	height: 2px;
	left: 10px;
	bottom: 0;
	background-color: #fff;
	transition: width 0.3s ease;
}

.navbar-nav > li > a:hover::after {
	width: 80%;
}

.navbar-nav > li > a:hover {
	transform: scale(1.05);
}


/* Content General ---------------------------- */
.content {
    display: flex;
    align-items: center;
    text-align: center;
    min-height: 60vh;
}
.content-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
}

/* Search form */
.searchform {
    width: 100%;
    max-width: 500px;
}

.searchform div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #ccc;
    background: var(--white);
}

/* Input search */
.searchform input[type="text"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

/* Submit button */
.searchform input[type="submit"] {
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 0 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.searchform input[type="submit"]:hover {
    background-color: var(--blue-drak);
    transform: scale(1.05);
}

.searchform label.screen-reader-text {
    display: none;
}

@media (max-width: 576px) {
    .content {
        padding: 2rem 1rem;
    }

    .content h1 {
        font-size: 2rem;
    }
}

/* Post List -----------------------------  */
.section-header {
    background: linear-gradient(135deg, #d6f3ff 0%, #bde9ff 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.news-heading {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #0077cc;
    letter-spacing: 2px;
    margin: 0;
    padding: 10px 20px;
    display: inline-block;
    background: #e6f7ff;
    border-radius: 8px;
    border: 2px solid #0077cc;
    -webkit-text-stroke: 1px #005fa3; /* viền chữ xanh đậm */
}

.news-heading::before,
.news-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 120px;
    height: 2px;
    background: #0077cc;
}

.news-heading::before {
    left: 10%;
}

.news-heading::after {
    right: 10%;
}

.post {
    background: var(--blue);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    min-height: auto;
    color: var(--white);
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.1);
}

.post .title {
    font-size: 1.3rem;
    font-weight: 600;
}

.post .title a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post .title a:hover {
    color: var(--blue-drak);
}

.post .meta {
    font-size: 0.85rem;
    color: var(--white) !important;
}

.post .meta i {
    margin-right: 0.25rem;
    color: var(--white) !important;
}

.post .post-thumb {
    max-width: 160px;
    border-radius: 0.3rem;
    object-fit: cover;
}

.post .intro {
    font-size: 0.95rem;
    color: var(--gray);
}

.post .more-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.fixed-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card {
    display: flex;
    flex-direction: column;
}

.card .card-title a{
    color: var(--white);
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 6em;
}

.card .btn-read-more {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, var(--blue-drak), var(--info));
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card .btn-read-more::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--info), var(--blue-drak));
    transition: all 0.3s ease;
    z-index: -1;
}

.card .btn-read-more:hover::before {
    left: 0;
}

.card .btn-read-more:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.4);
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 10px 18px;
    border-radius: 30px;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers.current {
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.pagination-wrapper .page-numbers:hover {
    background: #005fa3; /* xanh đậm khi hover */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
    font-weight: 700;
    letter-spacing: 1px;
}


/* --- Post Detail --- */
.post-header {
    background: linear-gradient(135deg, #f4f8ff, #ffffff);
    padding: 3rem 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease-in-out;
}

.post-header .post-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1e293b; /* text-slate-800 */
}

.post-header .post-excerpt {
    font-size: 1.25rem;
    color: #64748b; /* text-slate-500 */
    font-style: italic;
    margin-top: 0.5rem;
}


.post-thumbnail img {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.author-box {
    background: #f9f9f9;
    border-left: 4px solid var(--blue, #007BFF);
}

.author-box h5 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.post-thumbnail img {
    max-width: 60% !important;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.post-content .wp-block-post-featured-image{
    width: 40%;
}

.related-posts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-dark);
    border-bottom: 2px solid var(--blue, #007BFF);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.related-item .card-title a {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-item .card-title a:hover {
    color: var(--blue, #007BFF);
}

.related-item img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}


/* Meta Info */
.meta {
    font-size: 0.9rem;
    color: var(--gray);
    flex-wrap: wrap;
    gap: 0.8rem;
}

.meta span,
.meta .tag {
    background: #f3f3f3;
    color: var(--gray-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.meta .tag:hover,
.meta span:hover {
    background: var(--blue, #007BFF);
    color: #fff;
}

/* Content style */
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.post-content h2 {
    margin-top: 2.5rem;
    font-size: 1.6rem;
    color: var(--blue, #007BFF);
}

.post-content blockquote {
    background: #f4f8ff;
    border-left: 4px solid var(--blue, #007BFF);
    padding: 1rem 1.5rem;
    font-style: italic;
    border-radius: 6px;
    margin: 2rem 0;
}

/* Animation */
.post-content > * {
    animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
    from {opacity:0; transform:translateY(20px);}
    to {opacity:1; transform:none;}
}



/* Comment Headers ----------------------------- */

.comments-wrapper {
	margin-top: 3rem;
}

.comment-reply-title {
	margin: 0 0 4rem 0;
	text-align: center;
}


/* Comment Item ----------------------------- */

/* COMMENT HEADER */

.comments .comment,
.comments .pingback,
.comments .trackback,
.comments .review {
	padding-top: 3.5rem;
}

div.comment:first-of-type {
	margin-top: 3.5rem;
	padding-top: 0;
}

.comments .comments-header + div {
	margin-top: 0;
	padding-top: 0;
}

.comment-body {
	position: relative;
}

.comment .comment {
	padding-left: 5%;
}

.comment-meta {
	line-height: 1.1;
	margin-bottom: 0;
	min-height: 3.5rem;
	padding-left: 5rem;
	position: relative;
    margin-top: -1.5rem;
}

.hide-avatars .comment-meta {
	min-height: 0;
	padding-left: 0;
}

.comment-meta a {
	color: inherit;
}

.comment-author {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #111;
    margin-bottom: 0.25rem;
}

.comment-author a,
.comment-author .url {
    color: var(--blue, #007BFF);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.comment-author a:hover,
.comment-author .url:hover {
    color: var(--dark, #0056b3);
    text-decoration: underline;
}

.comment-author .avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


.comment-metadata {
	color: var(--gray);
	font-size: var(--font-small);
	font-weight: 500;
	margin-top: 0.6rem;
}

.comment-metadata a {
	text-decoration: none;
}

.comment-metadata a:focus,
.comment-metadata a:hover {
	text-decoration: underline;
}


/* COMMENT CONTENT */

.comment-content.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    width: 100%;
    background-color:var(--lightgray);
    padding:.5em;
}

.comment-content.entry-content .alignleft {
	margin-left: 0;
}

.comment-content.entry-content .alignright {
	margin-right: 0;
}

/* COMMENT FOOTER */
.comment-footer-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: var(--font-small);
	font-weight: 600;
	justify-content: flex-start;
	letter-spacing: 0.030833333em;
	line-height: 1;
	margin: 1.5rem 0 -1rem -1.5rem;
	text-transform: uppercase;
}

.comment-footer-meta > * {
	margin: 0 0 1rem 1.5rem;
}

.comment-reply-link {
    background-color: var(--blue);
    border-radius:2px;
    color: var(--white);
	display: block;
	padding: 0.7rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.comment-reply-link:hover{
    color: var(--white);
}

.bypostauthor .comment-footer-meta .by-post-author {
	display: block;
}

.comment-footer-meta a {
	text-decoration: none;
}

.comment-footer-meta a:focus,
.comment-footer-meta a:hover {
	text-decoration: underline;
}


/* Pingbacks & Trackbacks ------------------------- */
.pingback .comment-meta,
.trackback .comment-meta {
	padding-left: 0;
}


/* Comments Pagination ---------------------------- */
.comments-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 6rem;
	text-align: center;
}

.comments-pagination.only-next {
	justify-content: flex-end;
}

.comments-pagination .page-numbers {
	display: none;
	text-decoration: none;
}

.comments-pagination .page-numbers:focus,
.comments-pagination .page-numbers:hover {
	text-decoration: underline;
}

.comments-pagination .prev,
.comments-pagination .next {
	display: block;
}

.comments-pagination .prev {
	left: 0;
}

.comments-pagination .next {
	right: 0;
	text-align: right;
}


/* Comment Respond ---------------------------- */
.comment-respond {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.comment-reply-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    color: var(--dark);
}

.comment-respond .logged-in-as {
    font-size: 1.2rem;
    margin: 0 0 2rem;
    color: var(--gray);
}

.comment-respond .logged-in-as a {
    color: var(--blue);
    text-decoration: underline;
}

.comment-respond .logged-in-as a:hover {
    text-decoration: none;
}

.comment-respond label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.comment-respond textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"] {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fdfdfd;
    transition: border 0.3s, box-shadow 0.3s;
}

.comment-respond textarea:focus,
.comment-respond input:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comment-respond .form-submit {
    text-align: right;
}

.comment-respond #submit {
    background-color: var(--blue);
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.comment-respond #submit:hover {
    background-color: var(--dark, #0056b3);
    transform: scale(1.02);
}

.comment-reply-title small {
	display: block;
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.0277em;
	margin: 0.5rem 0 0 0;
	white-space: nowrap;
}

.comment-reply-title small a {
	text-decoration: none;
}

.comment-reply-title small a:focus,
.comment-reply-title small a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
    .comment-respond {
        padding: 1rem;
    }

    .comment-reply-title {
        font-size: 1.3rem;
    }

    .comment-respond .logged-in-as {
        font-size: 1.3rem;
    }

    .comment-respond textarea {
        height: 12rem;
    }

    .post-detail{
        margin-top: -3rem;
    }

    .post-header .post-title{
        font-size: 2rem;
    }

    .content{
        display: block;
    }
}


/* Sidebar Main ---------------------------- */
@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column !important;
        align-items: center;
    }

    .navbar-nav li {
        margin-bottom: 0.5rem;
    }
}

/* ====== NAV DRAWER (Mobile) ====== */
@media (max-width: 991.98px) {
  .drawer-toggle { display: inline-flex; }

  .nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    z-index: 1100;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    padding: 2rem 1rem;
  }

  .nav-drawer.is-open { right: 0; }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.sidebar-open { overflow: hidden; }

  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start;
  }
  .navbar-nav > li { width: 100%; margin-bottom: 1rem; }
  .navbar-nav > li > a {
    color: #2164AE !important;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }
  .mobile-menu-wrapper{
    margin-top: 4rem;
  }
}

/* Desktop: giữ menu hiển thị bình thường, ẩn nút toggle, bỏ style drawer */
@media (min-width: 992px) {
  .drawer-toggle { display: none !important; }
  .nav-drawer {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .sidebar-overlay { display: none !important; }
}


/* Footer ---------------------------- */
.footer {
    color: #fff;
    font-size: 0.95rem;
    background: var(--blue);
}

.footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.2s;
}

.footer a:hover {
    color: var(--drak);
    transform: translateX(2px);
}

.footer img {
    max-width: 120px;
    height: auto;
}

.footer .footer-widget {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer .footer-widget {
        margin-bottom: 0;
    }
    .footer .text-md-left {
        text-align: left;
    }
}

/* Search box styling */
.footer .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer .wp-block-search__input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.footer .wp-block-search__button {
    background-color: var(--blue-drak);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer .wp-block-search__button:hover {
    background-color: var(--dark);
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .footer .wp-block-search__inside-wrapper {
        padding: 0 2rem;
    }
}

.footer .text-center p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer .wp-block-social-links {
  display: flex;
  flex-wrap: wrap; 
  gap: 0.75rem;
  justify-content: center; 
  margin-top: 1rem;
  padding-left: 0;
}

@media (min-width: 768px) {
  .footer .wp-block-social-links {
    justify-content: flex-start;
  }
}

.footer .wp-block-social-links .wp-block-social-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background 0.3s, transform 0.2s;
}

.footer .wp-block-social-links .wp-block-social-link svg {
  fill: #ffffff !important;
  transition: fill 0.3s ease;
}

.footer .wp-block-social-links .wp-block-social-link:hover svg {
  fill: var(--dark) !important;
  width: 18px;
  height: 18px;
}

/* Newsletter form */
.footer .newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer .newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.footer .newsletter-form button {
    background-color: var(--blue-drak);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.footer .newsletter-form button:hover {
    background-color: var(--dark);
    transform: scale(1.05);
}

/* 404 Page */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  margin-top: -9rem;
}

.error-icon {
  font-size: 4rem;
}

.error-title {
  font-size: 5rem;
  font-weight: 700;
  color: var(--dark);
}

.error-subtitle {
  font-size: 1.75rem;
  font-weight: 500;
}

.error-text {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  color: #666;
}

.error-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Responsive tweak */
@media (min-width: 768px) {
  .error-actions {
    flex-direction: row;
  }
  .error-actions form {
    margin: 0;
  }
}
