/* A restrained finish over the existing layout; no changes to grid or sizing. */
:root {
    --office-ink: #093a33;
    --office-gold: #b49a68;
    --office-paper: #fcfbf8;
    --office-line: rgba(9, 58, 51, .14);
}
body { background-color: var(--office-paper); }
.mobileNavbar .custom-navbar-fluid {
    background: #093a33;
    box-shadow: 0 4px 18px rgba(9, 58, 51, .08);
    border-bottom: 1px solid rgba(180, 154, 104, .35);
}
.mobileNavbar .info-bar { background: #082f2a; border-bottom: 1px solid rgba(180, 154, 104, .18); }
.mobileNavbar .navbar-nav .nav-item { border-right-color: rgba(237, 216, 185, .22); }
.mobileNavbar .navbar-nav .nav-link { transition: color .2s ease; }
.mobileNavbar .navbar-nav .nav-link[aria-current] {
    text-decoration-color: var(--office-gold);
    text-decoration-thickness: 1px;
    text-underline-offset: .5rem;
}
.mobileNavbar .dropdown-menu {
    border: 1px solid var(--office-line);
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(9, 58, 51, .12);
}
.features-icons .features-icons-item {
    background: #fff;
    border-color: var(--office-line) !important;
    border-radius: 4px;
    box-shadow: 0 6px 22px rgba(9, 58, 51, .06) !important;
    position: relative;
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.features-icons .features-icons-item::after {
    content: '';
    position: absolute;
    left: calc(50% - 20px);
    bottom: 20px;
    width: 40px;
    height: 1px;
    background: var(--office-gold);
}
.features-icons .features-icons-item h3 { letter-spacing: .015em; }
.features-icons .features-icons-item:hover,
.features-icons .features-icons-item:focus-visible {
    background: var(--office-ink);
    border-color: var(--office-gold) !important;
    box-shadow: 0 10px 26px rgba(9, 58, 51, .12) !important;
}
.features-icons .features-icons-item:focus-visible h3 { color: #edd8b9 !important; }
.container .custom-img1 > span, .container .custom-img1 > h1 {
    background: linear-gradient(120deg, rgba(9, 58, 51, .97), rgba(9, 58, 51, .88));
    border-bottom: 2px solid var(--office-gold);
    letter-spacing: .025em;
}
.card-section .ekip {
    border: 1px solid var(--office-line);
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(9, 58, 51, .07) !important;
    transition: box-shadow .22s ease, transform .22s ease;
}
.card-section .ekip .card-body { box-shadow: none; }
.card-section .ekip .card-title { color: var(--office-ink); }
.card-section .ekip .card-footer { border-top: 1px solid rgba(180, 154, 104, .45) !important; }
.card-section .ekip:hover { transform: none; box-shadow: 0 12px 30px rgba(9, 58, 51, .12) !important; }
.oz-grid-item .grid-item-wrapper-padding {
    border-radius: 5px;
    box-shadow: 0 6px 22px rgba(9, 58, 51, .06) !important;
    background: #fff;
}
.oz-grid-item .grid-item-wrapper {
    border-color: var(--office-line);
    border-radius: 5px;
    transition: border-color .22s ease, box-shadow .22s ease;
}
.oz-grid-item .grid-item-wrapper:hover {
    transform: none;
    border-color: var(--office-gold);
    box-shadow: 0 10px 26px rgba(9, 58, 51, .10);
}
.oz-grid-item .grid-item-category { background: var(--office-ink); letter-spacing: .025em; }
.c_icon .c_icon_img { border: 1px solid var(--office-line); border-radius: 5px; box-shadow: 0 5px 18px rgba(9, 58, 51, .06); }
.contactForm .form-control {
    border-color: var(--office-line);
    border-radius: 4px;
    background-color: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contactForm .form-control:focus { border-color: var(--office-gold); box-shadow: 0 0 0 3px rgba(180, 154, 104, .14); }
.contactForm input[type='submit'] { border: 1px solid var(--office-ink); border-radius: 4px; transition: box-shadow .2s ease; }
.contactForm input[type='submit']:hover { box-shadow: 0 5px 16px rgba(9, 58, 51, .18); }
.contactForm input[type='submit']:disabled { opacity: .65; cursor: wait; }
.modal .modal-content { border: 1px solid var(--office-line); border-radius: 6px; box-shadow: 0 20px 65px rgba(9, 58, 51, .18); }
.modal .modal-header { background: var(--office-ink); border-bottom: 2px solid var(--office-gold); }
.modal .modal-title { font-family: 'Poppins', sans-serif; font-style: normal; letter-spacing: .04em; text-transform: none; }
.modal .modal-footer { border-top-color: var(--office-line); }
footer .page-border { border-top-color: rgba(180, 154, 104, .35); }
.breadcrumb { border-bottom-color: var(--office-line) !important; }
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
    .card-section .ekip:hover, .features-icons .features-icons-item:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
    .features-icons .features-icons-item, .card-section .ekip, .oz-grid-item .grid-item-wrapper,
    .contactForm .form-control, .mobileNavbar .nav-link { transition: none; }
    .card-section .ekip:hover, .features-icons .features-icons-item:hover { transform: none; }
}


/* Editorial typography and fine architectural details. */
:root { --office-display: Georgia, 'Times New Roman', serif; }
.container .custom-img1 > span, .container .custom-img1 > h1 {
    font-family: var(--office-display);
    font-weight: 400;
    letter-spacing: .015em;
    box-shadow: inset 0 0 0 1px rgba(237, 216, 185, .12);
}
#carouselExampleFade .carousel-inner {
    border-radius: 3px;
    box-shadow: 0 12px 32px rgba(9, 58, 51, .10);
    position: relative;
}
#carouselExampleFade .carousel-inner::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, .30);
    z-index: 2;
    pointer-events: none;
}
#carouselExampleFade .carousel-captionWelcome {
    background: linear-gradient(100deg, rgba(5, 37, 32, .92), rgba(9, 58, 51, .55));
    border-left: 2px solid var(--office-gold);
    border-radius: 0 3px 3px 0;
}
#carouselExampleFade .carousel-captionWelcome h3 {
    font-family: var(--office-display);
    font-weight: 400;
    letter-spacing: .01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
#carouselExampleFade .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f3e6cd;
    opacity: .65;
    transition: opacity .2s ease;
}
#carouselExampleFade .carousel-indicators button.active { opacity: 1; background-color: #d2b780; }
#carouselExampleFade .carousel-control-prev-icon,
#carouselExampleFade .carousel-control-next-icon {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background-color: rgba(5, 37, 32, .28);
    background-size: 45%;
}
.features-icons .features-icons-item {
    background: linear-gradient(145deg, #fff, #f8f6f1);
    box-shadow: 0 8px 24px rgba(9, 58, 51, .055), inset 0 0 0 5px #fff !important;
}
.features-icons .features-icons-item h3 {
    font-family: var(--office-display);
    font-weight: 400;
    letter-spacing: 0;
}
.features-icons .features-icons-item::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 14px;
    height: 14px;
    border-top: 1px solid rgba(180, 154, 104, .6);
    border-right: 1px solid rgba(180, 154, 104, .6);
    pointer-events: none;
}
.features-icons .features-icons-item:hover,
.features-icons .features-icons-item:focus-visible {
    background: linear-gradient(130deg, #093a33, #0e4940);
    box-shadow: 0 12px 30px rgba(9, 58, 51, .13), inset 0 0 0 5px rgba(237, 216, 185, .05) !important;
}
.card-section .ekip .card-body { background: linear-gradient(180deg, #fff, #fdfcf9); }
.card-section .ekip .card-title { letter-spacing: -.015em; }
.card-section .ekip .card-subtitle { color: #666b66; }
.card-section .ekip .card-footer { background-color: transparent !important; }
.card-section .social-icon { transition: color .2s ease; }
.card-section .social-icon:hover { color: #806632; }
.oz-grid-item .grid-item-date { color: #74634a; font-weight: 400; font-variant-numeric: tabular-nums; }
.oz-grid-item .grid-item-heading { font-family: var(--office-display); font-weight: 400; }
.oz-grid-item .grid-item-category { border-bottom: 1px solid var(--office-gold); }
.article .corporateCard {
    background: #fff;
    border-color: var(--office-line);
    border-radius: 5px;
    box-shadow: 0 8px 26px rgba(9, 58, 51, .05);
}
.article .article-header { font-family: var(--office-display); letter-spacing: -.015em; }
.contact-wrap { border: 1px solid var(--office-line); border-radius: 5px; box-shadow: 0 8px 30px rgba(9, 58, 51, .07) !important; }
.contact-wrap > h3 { font-family: var(--office-display); font-weight: 400; color: var(--office-ink); }
.contactForm .label { color: var(--office-ink); letter-spacing: .025em; }
.dbox .icon { border: 1px solid rgba(180, 154, 104, .35); box-shadow: 0 5px 16px rgba(9, 58, 51, .06) !important; }
.modal .modal-title { font-family: var(--office-display); letter-spacing: .015em; }
footer .page-border { position: relative; }
footer .page-border::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 2px;
    background: var(--office-gold);
    top: -1px;
    left: calc(50% - 18px);
}
@media (max-width: 767.98px) {
    #carouselExampleFade .carousel-inner::after { inset: 6px; }
    #carouselExampleFade .carousel-captionWelcome h3 { line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
    #carouselExampleFade .carousel-captionWelcome { animation: none; opacity: 1; }
    #carouselExampleFade .carousel-indicators button, .card-section .social-icon { transition: none; }
}

/* The collapsed menu uses the same spacing at every width below xl. */
@media (max-width: 1199.98px) {
    .mobileNavbar .navbar-collapse { padding-block: 12px; }
    .mobileNavbar .navbar-collapse.show { max-height: calc(100dvh - 112px); overflow-y: auto; }
    .mobileNavbar .navbar-nav { width: 100%; gap: 3px; }
    .mobileNavbar .navbar-nav .nav-item {
        width: 100%; height: auto; min-height: 44px;
        line-height: 1.5; padding: 0; margin: 0;
        border: 0 !important;
    }
    .mobileNavbar .navbar-nav .nav-link {
        display: block; padding: 11px 16px; margin: 0;
        min-height: 44px; font-size: 14px !important; line-height: 1.5; text-align: center;
        border-radius: 4px; letter-spacing: .035em;
    }
    .mobileNavbar .navbar-nav .nav-link::after { content: none; }
    .mobileNavbar .navbar-nav .nav-link[aria-current] {
        background: rgba(237, 216, 185, .08);
        text-decoration: none; color: #f3e6cd !important;
        box-shadow: inset 2px 0 0 var(--office-gold, #b49a68);
    }
    .mobileNavbar .navbar-nav #langMobile {
        width: 100%; padding: 8px 0 0; margin: 8px 0 0;
        gap: 12px; letter-spacing: normal !important;
        border: 0; border-top: 1px solid rgba(237, 216, 185, .2);
    }
    .mobileNavbar #langMobile .nav-link { min-height: 44px; padding: 11px 16px !important; }
    .mobileNavbar .navbar-toggler { box-shadow: none; border: 1px solid rgba(237, 216, 185, .3); border-radius: 5px; }
}


/* Contact details sit directly on the paper surface, without white tiles. */
.ftco-section-contact .contact-details {
    background: transparent;
    box-shadow: none;
    border-block: 1px solid rgba(180, 154, 104, .3);
}
.contact-details .dbox { background: transparent; }
.contact-details > .border-start { border-left-color: rgba(180, 154, 104, .25) !important; }
.contact-details .dbox .text { overflow-wrap: anywhere; }
.contact-details .dbox .text p { color: var(--office-ink); }
.contact-details .dbox .text p > span:first-child { color: #746c5e; font-weight: 400; }
.contact-details .dbox a { color: var(--office-ink); }
.contact-details .dbox a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 575.98px) {
    .contact-details > .border-start { border-left: 0 !important; border-top: 1px solid rgba(180, 154, 104, .2); }
}

/* Keep a portrait-shaped author card when the article sidebar stacks. */
.author-portrait-card { width: 100%; max-width: 380px; margin-inline: auto; }
.author-portrait-card > img.card-img-top,
.card-section .ekip img.card-img-top { object-fit: cover; object-position: center 10%; }
.modal img.card-img-top[src*='/avukat-'] { height: auto; min-height: 0; max-height: none; object-fit: contain; }
